From: Tor Lillqvist Date: Mon, 19 May 2008 12:42:14 +0000 (+0000) Subject: Include the dirent.h and wdirent.c from ../build/win32/dirent directly X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=445bb2718b7d44282cd58cc90e68a9ca9b51735f;p=dana%2Fcg-glib.git Include the dirent.h and wdirent.c from ../build/win32/dirent directly 2008-05-19 Tor Lillqvist * 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 --- diff --git a/ChangeLog b/ChangeLog index e560b9d1..7c76dc73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-05-19 Tor Lillqvist + + * 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 * glib/makefile.msc : added gi18n.c diff --git a/glib/gdir.c b/glib/gdir.c index f9b1457c..aab6c59a 100644 --- a/glib/gdir.c +++ b/glib/gdir.c @@ -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