From 7b573dc239a576da37f288c9ba39df5c0854b41d Mon Sep 17 00:00:00 2001 From: grischka Date: Mon, 11 Jul 2011 18:44:47 +0200 Subject: 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 --- win32/include/malloc.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'win32/include/malloc.h') diff --git a/win32/include/malloc.h b/win32/include/malloc.h index bd9ad11..8426600 100644 --- a/win32/include/malloc.h +++ b/win32/include/malloc.h @@ -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 -- cgit v1.3.1