Fix "error C2065: prng undeclared identifier" under Windows Phone
parent
3fe188ba89
commit
ddcd70b152
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue