win32/include: enable _timezone etc variables.
which live in msvcrt.dll and need __declspec(import) which works by now. Also: - _mingw.h: conditionally define WIN32_LEAN_AND_MEAN - malloc.h: don't undef alloca
This commit is contained in:
@ -144,13 +144,9 @@ extern "C" {
|
||||
#endif /* RC_INVOKED */
|
||||
|
||||
#ifndef NO_OLDNAMES
|
||||
#undef alloca
|
||||
#ifdef __GNUC__
|
||||
#undef alloca
|
||||
#define alloca(x) __builtin_alloca((x))
|
||||
#else
|
||||
#ifndef __TINYC__ //gr
|
||||
#define alloca _alloca
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user