Include the dirent.h and wdirent.c from ../build/win32/dirent directly

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
This commit is contained in:
Tor Lillqvist 2008-05-19 12:42:14 +00:00 committed by Tor Lillqvist
parent 4b2a571e43
commit 445bb2718b
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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