diff options
Diffstat (limited to 'config.h.win32')
-rwxr-xr-x | config.h.win32 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/config.h.win32 b/config.h.win32 index 015e64ebba..ecbc5b3d5b 100755 --- a/config.h.win32 +++ b/config.h.win32 @@ -16,10 +16,12 @@ /* Define if you have alloca, as a function or macro. */ #define HAVE_ALLOCA 1 -#ifdef _MSC_VER -#define alloca _alloca -#elif defined (__GNUC__) -#define alloca __builtin_alloca +#ifndef alloca + #ifdef _MSC_VER + #define alloca _alloca + #elif defined (__GNUC__) + #define alloca __builtin_alloca + #endif #endif /* Define if you have <alloca.h> and it should be used (not on Ultrix). */ |