summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-02-10 00:10:57 +0000
committerPaul Smith <psmith@gnu.org>2005-02-10 00:10:57 +0000
commita56c97d0998cdb339230665374306f56eeb7b029 (patch)
treef1e18c8945deebecf1529c040d01602d9c997eaa /dir.c
parent01cac6235c40700695333bc7f10bbef86dfb8a4d (diff)
downloadmake-a56c97d0998cdb339230665374306f56eeb7b029.tar.gz
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.
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir.c b/dir.c
index 9ab4ffc7..976e0b49 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