diff options
| author | grischka <grischka> | 2013-02-10 00:38:40 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2013-02-10 00:38:40 +0100 |
| commit | 8042121d74906eacec7add2ddc85270e1db3ca88 (patch) | |
| tree | a2f40b84332e8209ad91a0a0005444f1d61c96c5 /win32/include | |
| parent | d6d7686b608c4b7cd88877b30579ca2346e5d284 (diff) | |
| download | tinycc-8042121d74906eacec7add2ddc85270e1db3ca88.tar.gz tinycc-8042121d74906eacec7add2ddc85270e1db3ca88.tar.bz2 | |
tcc -vv/--print-search-dirs: print more info
tests/Makefile:
- print-search-dirs when 'hello' fails
- split off hello-run
win32/include/_mingw.h:
- fix for compatibility with mingw headers
(While our headers in win32 are from mingw-64 and don't have
the problem)
tiny_libmaker:
- don't use "dangerous" mktemp
Diffstat (limited to 'win32/include')
| -rw-r--r-- | win32/include/_mingw.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/include/_mingw.h b/win32/include/_mingw.h index 0d2f039..14cd718 100644 --- a/win32/include/_mingw.h +++ b/win32/include/_mingw.h @@ -37,8 +37,9 @@ #define __unaligned __attribute__((packed)) #define __fastcall __attribute__((fastcall)) -#define __MINGW_IMPORT extern __declspec(dllimport) +#define __MSVCRT__ 1 #undef _MSVCRT_ +#define __MINGW_IMPORT extern __declspec(dllimport) #define __MINGW_ATTRIB_NORETURN #define __MINGW_ATTRIB_CONST #define __MINGW_ATTRIB_DEPRECATED |
