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

This commit is contained in:
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

View File

@ -625,7 +625,7 @@ bool TestRandomPool()
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";
{
AutoSeededRandomPool prng;
@ -718,7 +718,7 @@ bool TestRandomPool()
return pass;
}
#if !defined(NO_OS_DEPENDENCE)
#if !defined(NO_OS_DEPENDENCE) && defined(OS_RNG_AVAILABLE)
bool TestAutoSeededX917()
{
// This tests Auto-Seeding and GenerateIntoBufferedTransformation.