Fix "error C2065: prng undeclared identifier" under Windows Phone

pull/425/head
Jeffrey Walton 2017-05-18 08:36:00 -04:00
parent 3fe188ba89
commit ddcd70b152
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 2 additions and 2 deletions

View File

@ -625,7 +625,7 @@ bool TestRandomPool()
std::cout << " GenerateWord32 and Crop\n"; std::cout << " GenerateWord32 and Crop\n";
} }
#if !defined(NO_OS_DEPENDENCE) #if !defined(NO_OS_DEPENDENCE) && defined(OS_RNG_AVAILABLE)
std::cout << "\nTesting AutoSeeded RandomPool generator...\n\n"; std::cout << "\nTesting AutoSeeded RandomPool generator...\n\n";
{ {
AutoSeededRandomPool prng; AutoSeededRandomPool prng;
@ -718,7 +718,7 @@ bool TestRandomPool()
return pass; return pass;
} }
#if !defined(NO_OS_DEPENDENCE) #if !defined(NO_OS_DEPENDENCE) && defined(OS_RNG_AVAILABLE)
bool TestAutoSeededX917() bool TestAutoSeededX917()
{ {
// This tests Auto-Seeding and GenerateIntoBufferedTransformation. // This tests Auto-Seeding and GenerateIntoBufferedTransformation.