From c90f47e8320b41e3a5bfeb654543d9474f763e5d Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Thu, 10 Feb 2005 00:10:57 +0000 Subject: Flush stdout after printing directory info. Fix references to MINGW #define constants. Remove WINDOWS32 ifdef from sub_proc.h. Only add variables to the command line for recursion once. New features in run_make_test: #PWD# and #MAKEPATH# replacements. Test the multi-variable fix in the recursion regression test. --- dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dir.c') diff --git a/dir.c b/dir.c index 9ab4ffc..976e0b4 100644 --- a/dir.c +++ b/dir.c @@ -1131,8 +1131,8 @@ read_dirstream (__ptr_t stream) } d = (struct dirent *) buf; #ifdef __MINGW32__ -# if __MINGW32_VERSION_MAJOR < 3 || (__MINGW32_VERSION_MAJOR == 3 && \ - __MINGW32_VERSION_MINOR == 0) +# if __MINGW32_MAJOR_VERSION < 3 || (__MINGW32_MAJOR_VERSION == 3 && \ + __MINGW32_MINOR_VERSION == 0) d->d_name = xmalloc(len); # endif #endif -- cgit v1.2.3