Include the dirent.h and wdirent.c from ../build/win32/dirent directly
authorTor Lillqvist <tml@novell.com>
Mon, 19 May 2008 12:42:14 +0000 (12:42 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 19 May 2008 12:42:14 +0000 (12:42 +0000)
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.

svn path=/trunk/; revision=6915

ChangeLog
glib/gdir.c

index e560b9d164a7c9b1d3f70996afe1487466cfb5b3..7c76dc735f5555af28d3e36590aef9d530517388 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
 2008-05-19  Hans Breuer  <hans@breuer.org>
 
        * glib/makefile.msc : added gi18n.c
index f9b1457c48dcde57a62823635f42351150f55653..aab6c59aec60fb189731492ca331705fd0c7712d 100644 (file)
 
 #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