mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 19:25:53 +02:00
fixed GH #1813: xmlparse.cpp doesn't compile in WinCE (poco 1.7.8p3)
This commit is contained in:
@@ -917,6 +917,7 @@ gather_time_entropy(void)
|
||||
|
||||
static unsigned long
|
||||
ENTROPY_DEBUG(const char * label, unsigned long entropy) {
|
||||
#ifdef ENABLE_EXPAT_ENTROPY_DEBUG
|
||||
const char * const EXPAT_ENTROPY_DEBUG = getenv("EXPAT_ENTROPY_DEBUG");
|
||||
if (EXPAT_ENTROPY_DEBUG && ! strcmp(EXPAT_ENTROPY_DEBUG, "1")) {
|
||||
fprintf(stderr, "Entropy: %s --> 0x%0*lx (%lu bytes)\n",
|
||||
@@ -924,6 +925,7 @@ ENTROPY_DEBUG(const char * label, unsigned long entropy) {
|
||||
(int)sizeof(entropy) * 2, entropy,
|
||||
(unsigned long)sizeof(entropy));
|
||||
}
|
||||
#endif
|
||||
return entropy;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user