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