summaryrefslogtreecommitdiff
path: root/config.h.win32.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2008-08-27 12:48:57 +0000
committerTor Lillqvist <tml@src.gnome.org>2008-08-27 12:48:57 +0000
commit194493f3f8718b10ffc16f9e1b863a1b7f57cbc9 (patch)
tree349f0a19fdabae1c14f7724623996c048526b7dc /config.h.win32.in
parentb2073f1ce2fcebd6bff5ae20c0e0057a3dd47765 (diff)
downloadglib-194493f3f8718b10ffc16f9e1b863a1b7f57cbc9.tar.gz
Should not define HAVE_DIRENT_H when compiling with MSVC, as the only file
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
Diffstat (limited to 'config.h.win32.in')
-rw-r--r--config.h.win32.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h.win32.in b/config.h.win32.in
index d9ee35183..78ed09474 100644
--- a/config.h.win32.in
+++ b/config.h.win32.in
@@ -154,7 +154,11 @@
#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 */