fixed GH #1813: xmlparse.cpp doesn't compile in WinCE (poco 1.7.8p3)

This commit is contained in:
Günter Obiltschnig 2017-08-10 16:58:44 +02:00
parent 88684a182f
commit f8b7681f78

View File

@ -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;
}