aboutsummaryrefslogtreecommitdiff
path: root/win32/include
diff options
context:
space:
mode:
authorgrischka <grischka>2008-03-08 19:55:47 +0000
committergrischka <grischka>2008-03-08 19:55:47 +0000
commit2eaa1104f7af7afa13e5e9a36020efaa33c0e050 (patch)
tree70d900fe94cb0ab3398f39c1ac3e769b144e9f45 /win32/include
parent265dddbecf8c8a5df5492caa72cf2b4e36bf00d7 (diff)
downloadtinycc-2eaa1104f7af7afa13e5e9a36020efaa33c0e050.tar.gz
tinycc-2eaa1104f7af7afa13e5e9a36020efaa33c0e050.tar.bz2
Checkin tiny_libmaker (ar replacement) by Timovj Lahde
Diffstat (limited to 'win32/include')
-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