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:
grischka
2011-07-11 18:44:47 +02:00
parent 436c1a734f
commit 7b573dc239
3 changed files with 13 additions and 15 deletions

View File

@ -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