From bb93064d7857d887b674999c9b4152b44a628f9a Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 25 Feb 2017 12:49:47 +0100 Subject: makefile: unify cross with native builds supports building cross compilers on the fly without need for configure --enable-cross $ make cross # all compilers $ make cross-TARGET # only TARGET-compiler & its libtcc1.a with TARGET one from i386 x86_64 i386-win32 x86_64-win32 arm arm64 arm-wince c67 Type 'make help' for more information --- win32/include/_mingw.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'win32/include/_mingw.h') diff --git a/win32/include/_mingw.h b/win32/include/_mingw.h index 9a8696d..41247e6 100644 --- a/win32/include/_mingw.h +++ b/win32/include/_mingw.h @@ -83,8 +83,12 @@ #define _M_IX86 300 /* Visual Studio */ #define WIN32 1 #define _USE_32BIT_TIME_T +#ifdef __arm__ +#define __TRY__ +#else #define __TRY__ void __try__(void**), *_sehrec[6]; __try__(_sehrec); #endif +#endif /* in stddef.h */ #define _SIZE_T_DEFINED -- cgit v1.3.1