diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-03-10 18:01:07 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-03-10 18:01:07 +0000 |
commit | cb0dae3a34f9409780905c075e82b46ed18576c0 (patch) | |
tree | f348640e1e5808d31e7bacce7fcf510871b6a705 /lib/win32/emu.h | |
parent | 28195d8d1da7a34fbff4c9d217f6333c5472ed7c (diff) |
Added d_type member to struct dirent, initialise with S_IFDIR or S_IFREG
MinGW compile fix
(refs #3, merges [775])
Diffstat (limited to 'lib/win32/emu.h')
-rw-r--r-- | lib/win32/emu.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 <stdint.h> +#else // MSVC typedef unsigned __int64 u_int64_t; typedef unsigned __int64 uint64_t; typedef __int64 int64_t; |