From cb0dae3a34f9409780905c075e82b46ed18576c0 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 10 Mar 2007 18:01:07 +0000 Subject: Added d_type member to struct dirent, initialise with S_IFDIR or S_IFREG MinGW compile fix (refs #3, merges [775]) --- lib/win32/emu.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/win32/emu.h b/lib/win32/emu.h index 206e1f70..25bff02c 100644 --- a/lib/win32/emu.h +++ b/lib/win32/emu.h @@ -6,7 +6,9 @@ // basic types, may be required by other headers since we // don't include sys/types.h -#ifndef __MINGW32__ +#ifdef __MINGW32__ + #include +#else // MSVC typedef unsigned __int64 u_int64_t; typedef unsigned __int64 uint64_t; typedef __int64 int64_t; -- cgit v1.2.3