summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/bn_exp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bn/bn_exp.c')
-rw-r--r--src/lib/libcrypto/bn/bn_exp.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/libcrypto/bn/bn_exp.c b/src/lib/libcrypto/bn/bn_exp.c
index 2047e1cc3f..22ef643c02 100644
--- a/src/lib/libcrypto/bn/bn_exp.c
+++ b/src/lib/libcrypto/bn/bn_exp.c
@@ -114,12 +114,7 @@
114#include "bn_lcl.h" 114#include "bn_lcl.h"
115 115
116#include <stdlib.h> 116#include <stdlib.h>
117#ifdef _WIN32 117#if defined(__GNUC__)
118# include <malloc.h>
119# ifndef alloca
120# define alloca _alloca
121# endif
122#elif defined(__GNUC__)
123# ifndef alloca 118# ifndef alloca
124# define alloca(s) __builtin_alloca((s)) 119# define alloca(s) __builtin_alloca((s))
125# endif 120# endif