diff options
-rw-r--r-- | dlltest.cpp | 1 | ||||
-rw-r--r-- | stdcpp.h | 7 |
2 files changed, 6 insertions, 2 deletions
diff --git a/dlltest.cpp b/dlltest.cpp index dac9093..4afd305 100644 --- a/dlltest.cpp +++ b/dlltest.cpp @@ -3,7 +3,6 @@ #endif #include "dll.h" -#include <iostream> USING_NAMESPACE(CryptoPP) USING_NAMESPACE(std) @@ -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 |