Fixed compiler error due to reversing ifdef and ifdef for CRYPTOPP_UNIX_AVAILABLE

pull/35/head
Jeffrey Walton 2015-07-27 16:15:46 -04:00
parent 6cf9b6e081
commit 69afee37b0
1 changed files with 2 additions and 2 deletions

View File

@ -49,12 +49,12 @@
// #endif // #endif
// Nearly everyone gets alloca from <alloca.h>. // Nearly everyone gets alloca from <alloca.h>.
#ifndef CRYPTOPP_UNIX_AVAILABLE #ifdef CRYPTOPP_UNIX_AVAILABLE
# include <alloca.h> # include <alloca.h>
#endif #endif
// Windows includes alloca in <malloc.h>. // Windows includes alloca in <malloc.h>.
#if defined(CRYPTOPP_UNIX_AVAILABLE) || defined(__MINGW32__) || defined(__BORLANDC__) #if defined(CRYPTOPP_WIN32_AVAILABLE) || defined(__MINGW32__) || defined(__BORLANDC__)
# include <malloc.h> # include <malloc.h>
#endif #endif