aboutsummaryrefslogtreecommitdiff
path: root/win32/include/_mingw.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/include/_mingw.h')
-rw-r--r--win32/include/_mingw.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/win32/include/_mingw.h b/win32/include/_mingw.h
index 90a8b11..257c523 100644
--- a/win32/include/_mingw.h
+++ b/win32/include/_mingw.h
@@ -23,22 +23,21 @@
#define __int64 long long
#define __int32 long
#define __int16 short
-#define __int8 char
-#define __cdecl __attribute__((__cdecl__))
-#define __stdcall __attribute__((__stdcall__))
-#define __declspec(x) __attribute__((x))
+#define __int8 char
+#define __cdecl __attribute__((__cdecl__))
+#define __stdcall __attribute__((__stdcall__))
+#define __declspec(x) __attribute__((x))
#define __MINGW32_VERSION 2.0
#define __MINGW32_MAJOR_VERSION 2
#define __MINGW32_MINOR_VERSION 0
-#define __MSVCRT__
-#define __MINGW_IMPORT extern
+#define __MSVCRT__ 1
+#define __MINGW_IMPORT extern
#define _CRTIMP
-#define __CRT_INLINE extern __inline__
+#define __CRT_INLINE extern __inline__
-#define _WIN32
-#define WIN32
+#define WIN32 1
#ifndef _WINT_T
#define _WINT_T
@@ -46,7 +45,8 @@ typedef unsigned int wint_t;
#endif
/* for winapi */
-#define NONAMELESSUNION
+#define _ANONYMOUS_UNION
+#define _ANONYMOUS_STRUCT
#define DECLSPEC_NORETURN
#define WIN32_LEAN_AND_MEAN
#define DECLARE_STDCALL_P(type) __stdcall type