glib r7403 - trunk



Author: tml
Date: Wed Aug 27 12:48:57 2008
New Revision: 7403
URL: http://svn.gnome.org/viewvc/glib?rev=7403&view=rev

Log:
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.



Modified:
   trunk/ChangeLog
   trunk/config.h.win32.in

Modified: trunk/config.h.win32.in
==============================================================================
--- trunk/config.h.win32.in	(original)
+++ trunk/config.h.win32.in	Wed Aug 27 12:48:57 2008
@@ -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 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]