Fixed compiler error due to reversing ifdef and ifdef for CRYPTOPP_UNIX_AVAILABLE
parent
6cf9b6e081
commit
69afee37b0
4
stdcpp.h
4
stdcpp.h
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue