Add "stdcpp.h" to bench1.cpp and bench2.cpp (GH #520)

This is the first of possibly two or three for Borland compilers. We have to be careful because its very easy to break something due to math overloads with other compilers like SunCC or XL/C
pull/531/head
Jeffrey Walton 2017-10-12 21:52:23 -04:00
parent f1a80e6a58
commit 642cf3aa74
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
4 changed files with 4 additions and 3 deletions

View File

@ -17,6 +17,7 @@
#include "drbg.h" #include "drbg.h"
#include "rdrand.h" #include "rdrand.h"
#include "padlkrng.h" #include "padlkrng.h"
#include "stdcpp.h"
#if CRYPTOPP_MSC_VERSION #if CRYPTOPP_MSC_VERSION
# pragma warning(disable: 4355) # pragma warning(disable: 4355)

View File

@ -30,6 +30,7 @@
#include "pssr.h" #include "pssr.h"
#include "oids.h" #include "oids.h"
#include "randpool.h" #include "randpool.h"
#include "stdcpp.h"
#if CRYPTOPP_MSC_VERSION #if CRYPTOPP_MSC_VERSION
# pragma warning(disable: 4505 4355) # pragma warning(disable: 4505 4355)

View File

@ -10,9 +10,7 @@
#include "algparam.h" #include "algparam.h"
#include "smartptr.h" #include "smartptr.h"
#include "misc.h" #include "misc.h"
#include "stdcpp.h"
#include <vector>
#include <cmath>
#ifdef _OPENMP #ifdef _OPENMP
# include <omp.h> # include <omp.h>

View File

@ -48,6 +48,7 @@ namespace std {
#include <cstddef> #include <cstddef>
#include <cstring> #include <cstring>
#include <climits> #include <climits>
#include <cmath>
// uintptr_t and ptrdiff_t // uintptr_t and ptrdiff_t
#if (__cplusplus < 201103L) && (!defined(_MSC_VER) || (_MSC_VER >= 1700)) #if (__cplusplus < 201103L) && (!defined(_MSC_VER) || (_MSC_VER >= 1700))