Enable OpenMP by default for RWSS if -fopnmp is present.
The user asked for OMP, and they can turn it off for the source file if they desirepull/253/head
parent
ded4fd50a2
commit
f7efde3a26
4
rw.cpp
4
rw.cpp
|
|
@ -11,7 +11,11 @@
|
||||||
|
|
||||||
#ifndef CRYPTOPP_IMPORTS
|
#ifndef CRYPTOPP_IMPORTS
|
||||||
|
|
||||||
|
#if defined(_OPENMP)
|
||||||
|
static const bool CRYPTOPP_RW_USE_OMP = true;
|
||||||
|
#else
|
||||||
static const bool CRYPTOPP_RW_USE_OMP = false;
|
static const bool CRYPTOPP_RW_USE_OMP = false;
|
||||||
|
#endif
|
||||||
|
|
||||||
NAMESPACE_BEGIN(CryptoPP)
|
NAMESPACE_BEGIN(CryptoPP)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue