summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/include/_mingw.h
diff options
context:
space:
mode:
authorEarnie Boyd <earnie@users.sf.net>2003-07-01 12:57:53 +0000
committerEarnie Boyd <earnie@users.sf.net>2003-07-01 12:57:53 +0000
commitfecdb8380e8feb9212029d7377511d4016bed6d6 (patch)
tree369f22992e5cdc681b0a28318240aa2364c1ce84 /winsup/mingw/include/_mingw.h
parentb8582a99b5ed3061e0a40e66db58d90f9dcc9259 (diff)
downloadcygnal-fecdb8380e8feb9212029d7377511d4016bed6d6.tar.gz
cygnal-fecdb8380e8feb9212029d7377511d4016bed6d6.tar.bz2
cygnal-fecdb8380e8feb9212029d7377511d4016bed6d6.zip
* include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
Note: Also added to w32api/include/basetyps.h.
Diffstat (limited to 'winsup/mingw/include/_mingw.h')
-rw-r--r--winsup/mingw/include/_mingw.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/winsup/mingw/include/_mingw.h b/winsup/mingw/include/_mingw.h
index 1196f28e1..cb535b010 100644
--- a/winsup/mingw/include/_mingw.h
+++ b/winsup/mingw/include/_mingw.h
@@ -80,8 +80,24 @@
# ifndef __stdcall
# define __stdcall __attribute__((stdcall))
# endif
-# undef __int64
-# define __int64 long long
+# ifndef __int64
+# define __int64 long long
+# endif
+# ifndef __int32
+# define __int32 long
+# endif
+# ifndef __int16
+# define __int16 int
+# endif
+# ifndef __int8
+# define __int8 char
+# endif
+# ifndef small
+# define small char
+# endif
+# ifndef hyper
+# define hyper long long
+# endif
#endif /* __GNUC__ */
#define __MINGW32_VERSION 3.1