summaryrefslogtreecommitdiff
path: root/include/generic.h
diff options
context:
space:
mode:
authorpixel <pixel>2003-10-09 04:47:27 +0000
committerpixel <pixel>2003-10-09 04:47:27 +0000
commitd2ea5b4ea490388ea5fb5cc7a54bafd464d13243 (patch)
treefc14ecab74fff3556c97dfe10d92961920aa1f2a /include/generic.h
parent0a1ad13e6d89ceeb90b89a22b5577559c7c97366 (diff)
Yay for mingw32
Diffstat (limited to 'include/generic.h')
-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))