diff options
Diffstat (limited to 'src/lib/libcrypto/engine/eng_padlock.c')
| -rw-r--r-- | src/lib/libcrypto/engine/eng_padlock.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/libcrypto/engine/eng_padlock.c b/src/lib/libcrypto/engine/eng_padlock.c index c27181ba75..5a80b2b16d 100644 --- a/src/lib/libcrypto/engine/eng_padlock.c +++ b/src/lib/libcrypto/engine/eng_padlock.c | |||
| @@ -129,12 +129,7 @@ void ENGINE_load_padlock (void) | |||
| 129 | /* We do these includes here to avoid header problems on platforms that | 129 | /* We do these includes here to avoid header problems on platforms that |
| 130 | do not have the VIA padlock anyway... */ | 130 | do not have the VIA padlock anyway... */ |
| 131 | #include <stdlib.h> | 131 | #include <stdlib.h> |
| 132 | #ifdef _WIN32 | 132 | #if defined(__GNUC__) |
| 133 | # include <malloc.h> | ||
| 134 | # ifndef alloca | ||
| 135 | # define alloca _alloca | ||
| 136 | # endif | ||
| 137 | #elif defined(__GNUC__) | ||
| 138 | # ifndef alloca | 133 | # ifndef alloca |
| 139 | # define alloca(s) __builtin_alloca(s) | 134 | # define alloca(s) __builtin_alloca(s) |
| 140 | # endif | 135 | # endif |
