diff options
| author | grischka <grischka> | 2017-02-25 12:49:47 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2017-02-25 12:51:04 +0100 |
| commit | bb93064d7857d887b674999c9b4152b44a628f9a (patch) | |
| tree | 5290a93161373fd5a286d9aaf32ebb8dea04f82c /win32/include | |
| parent | 669f61117d6ff2255649e80a9708fe24e32d4a33 (diff) | |
| download | tinycc-bb93064d7857d887b674999c9b4152b44a628f9a.tar.gz tinycc-bb93064d7857d887b674999c9b4152b44a628f9a.tar.bz2 | |
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
Diffstat (limited to 'win32/include')
| -rw-r--r-- | win32/include/_mingw.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
