summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/generic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/generic.h b/include/generic.h
index 40d95e7..c31f8d3 100644
--- a/include/generic.h
+++ b/include/generic.h
@@ -59,7 +59,7 @@ typedef Uint32 DWord;
typedef int32 ssize_t;
#endif
-#if defined __linux__ || defined sun || defined __solaris__ || defined __CYGWIN32__ || defined FORCE64
+#if defined __linux__ || defined sun || defined __solaris__ || defined __CYGWIN32__ || defined __MINGW32__ || defined FORCE64
typedef long long int64;
typedef unsigned long long uint64;
#else
@@ -72,7 +72,7 @@ typedef unsigned _int64 uint64;
#endif
#ifndef PACKED
-#if defined __linux__ || defined sun || defined __solaris__ || defined __CYGWIN32__
+#if defined __linux__ || defined sun || defined __solaris__ || defined __CYGWIN32__ || defined __MINGW32__
#define PACKED __attribute__((packed))
#else // PACKED
#define PACKED
@@ -80,7 +80,7 @@ typedef unsigned _int64 uint64;
#endif // !PACKED
#ifndef PPACKED
-#if defined __linux__ || defined sun || defined __solaris__ || defined __CYGWIN32__
+#if defined __linux__ || defined sun || defined __solaris__ || defined __CYGWIN32__ || defined __MINGW32__
#define PPACKED
#else // PACKED
#define PPACKED __declspec(align(1))