summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/win32/emu.h4
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;