Should not define HAVE_DIRENT_H when compiling with MSVC, as the only file
authorTor Lillqvist <tml@novell.com>
Wed, 27 Aug 2008 12:48:57 +0000 (12:48 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Wed, 27 Aug 2008 12:48:57 +0000 (12:48 +0000)
2008-08-27  Tor Lillqvist  <tml@novell.com>

* config.h.win32.in: Should not define HAVE_DIRENT_H when
compiling with MSVC, as the only file which checks HAVE_DIRENT_H
is gdir.c, and that includes the dirent.h and wdirent.c from
build/win32/dirent explicitly anyway when being compiled with
MSVC.

svn path=/trunk/; revision=7403

ChangeLog
config.h.win32.in

index 65d32e2..a996c46 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-08-27  Tor Lillqvist  <tml@novell.com>
+
+       * config.h.win32.in: Should not define HAVE_DIRENT_H when
+       compiling with MSVC, as the only file which checks HAVE_DIRENT_H
+       is gdir.c, and that includes the dirent.h and wdirent.c from
+       build/win32/dirent explicitly anyway when being compiled with
+       MSVC.
+
 2008-08-22  Björn Lindqvist  <bjourne@gmail.com>
 
        Bug 523939 – Example program for GValue
index d9ee351..78ed094 100644 (file)
 #define HAVE_DCGETTEXT 1
 
 /* Define to 1 if you have the <dirent.h> header file. */
+#ifndef _MSC_VER
 #define HAVE_DIRENT_H 1
+#else
+/* #undef HAVE_DIRENT_H */
+#endif
 
 /* Define to 1 if you have the <dlfcn.h> header file. */
 /* #undef HAVE_DLFCN_H */