From 5c80b04ad533e531e552e7e775b6df48dd1fcecc Mon Sep 17 00:00:00 2001 From: miod <> Date: Mon, 28 Apr 2014 21:14:50 +0000 Subject: Remove WIN32, WIN64 and MINGW32 tentacles. Also check for _LP64 rather than __arch64__ (the former being more reliable than __LP64__ or __arch64__) to tell 64-bit int platforms apart from 32-bit int platforms. Loosely based upon a diff from Martijn van Duren on tech@ --- src/lib/libcrypto/engine/eng_padlock.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/lib/libcrypto/engine/eng_padlock.c') 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) /* We do these includes here to avoid header problems on platforms that do not have the VIA padlock anyway... */ #include -#ifdef _WIN32 -# include -# ifndef alloca -# define alloca _alloca -# endif -#elif defined(__GNUC__) +#if defined(__GNUC__) # ifndef alloca # define alloca(s) __builtin_alloca(s) # endif -- cgit v1.2.3-55-g6feb