mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-27 03:40:22 +00:00
fix build of dlltest project on MSVC 2008
fix compile on C++Builder 2010
This commit is contained in:
parent
57de1d522b
commit
bc0806d50d
@ -3,7 +3,6 @@
|
||||
#endif
|
||||
|
||||
#include "dll.h"
|
||||
#include <iostream>
|
||||
|
||||
USING_NAMESPACE(CryptoPP)
|
||||
USING_NAMESPACE(std)
|
||||
|
7
stdcpp.h
7
stdcpp.h
@ -1,6 +1,11 @@
|
||||
#ifndef CRYPTOPP_STDCPP_H
|
||||
#define CRYPTOPP_STDCPP_H
|
||||
|
||||
#if _MSC_VER >= 1500
|
||||
#define _DO_NOT_DECLARE_INTERLOCKED_INTRINSICS_IN_MEMORY
|
||||
#include <intrin.h>
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
#include <assert.h>
|
||||
#include <limits.h>
|
||||
@ -22,7 +27,7 @@
|
||||
// for alloca
|
||||
#ifdef __sun
|
||||
#include <alloca.h>
|
||||
#elif defined(__MINGW32__)
|
||||
#elif defined(__MINGW32__) || defined(__BORLANDC__)
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user