glib r6915 - in trunk: . glib



Author: tml
Date: Mon May 19 12:42:14 2008
New Revision: 6915
URL: http://svn.gnome.org/viewvc/glib?rev=6915&view=rev

Log:
2008-05-19  Tor Lillqvist  <tml novell com>

	* glib/gdir.c: Include the dirent.h and wdirent.c from
	../build/win32/dirent directly here when compiling with MSVC and
	without HAVE_DIRENT_H.



Modified:
   trunk/ChangeLog
   trunk/glib/gdir.c

Modified: trunk/glib/gdir.c
==============================================================================
--- trunk/glib/gdir.c	(original)
+++ trunk/glib/gdir.c	Mon May 19 12:42:14 2008
@@ -40,6 +40,11 @@
 
 #include "galias.h"
 
+#if defined (_MSC_VER) && !defined (HAVE_DIRENT_H)
+#include "../build/win32/dirent/dirent.h"
+#include "../build/win32/dirent/wdirent.c"
+#endif
+
 struct _GDir
 {
 #ifdef G_OS_WIN32



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