mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-27 03:40:22 +00:00
Fixed compiler error due to reversing ifdef and ifdef for CRYPTOPP_UNIX_AVAILABLE
This commit is contained in:
parent
6cf9b6e081
commit
69afee37b0
4
stdcpp.h
4
stdcpp.h
@ -49,12 +49,12 @@
|
||||
// #endif
|
||||
|
||||
// Nearly everyone gets alloca from <alloca.h>.
|
||||
#ifndef CRYPTOPP_UNIX_AVAILABLE
|
||||
#ifdef CRYPTOPP_UNIX_AVAILABLE
|
||||
# include <alloca.h>
|
||||
#endif
|
||||
|
||||
// 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>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user