Placed guards on <alloca.> include
parent
ef318d5423
commit
03f36f8655
9
stdcpp.h
9
stdcpp.h
|
|
@ -49,10 +49,13 @@
|
||||||
// #include <malloc.h>
|
// #include <malloc.h>
|
||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
// Rijdael uses alloca. Just include it for everyone....
|
// Nearly everyone gets alloca from <alloca.h>.
|
||||||
#include <alloca.h>
|
#ifndef CRYPTOPP_UNIX_AVAILABLE
|
||||||
|
# include <alloca.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__MINGW32__) || defined(__BORLANDC__)
|
// Windows includes alloca in <malloc.h>.
|
||||||
|
#if defined(CRYPTOPP_UNIX_AVAILABLE) || defined(__MINGW32__) || defined(__BORLANDC__)
|
||||||
# include <malloc.h>
|
# include <malloc.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue