From 2eaa1104f7af7afa13e5e9a36020efaa33c0e050 Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 8 Mar 2008 19:55:47 +0000 Subject: Checkin tiny_libmaker (ar replacement) by Timovj Lahde --- win32/include/_mingw.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'win32/include') 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 -- cgit v1.3.1