Reverted change to switch from COMPILED_FROM_DSP to WIN32
Bug: 30157673
Test: cannot test as does not yet compile
Change-Id: Iba4c9d9c8257f1033159ee0ad8a0aceec6069847
diff --git a/lib/xmlparse.c b/lib/xmlparse.c
index b308e67..eac228b 100644
--- a/lib/xmlparse.c
+++ b/lib/xmlparse.c
@@ -7,7 +7,7 @@
#include <assert.h>
#include <limits.h> /* UINT_MAX */
-#ifdef WIN32
+#ifdef COMPILED_FROM_DSP
#define getpid GetCurrentProcessId
#else
#include <sys/time.h> /* gettimeofday() */
@@ -17,7 +17,7 @@
#define XML_BUILDING_EXPAT 1
-#ifdef WIN32
+#ifdef COMPILED_FROM_DSP
#include "winconfig.h"
#elif defined(MACOS_CLASSIC)
#include "macconfig.h"
@@ -27,7 +27,7 @@
#include "watcomconfig.h"
#elif defined(HAVE_EXPAT_CONFIG_H)
#include <expat_config.h>
-#endif /* ndef WIN32 */
+#endif /* ndef COMPILED_FROM_DSP */
#include "ascii.h"
#include "expat.h"
@@ -700,7 +700,7 @@
static unsigned long
gather_time_entropy(void)
{
-#ifdef WIN32
+#ifdef COMPILED_FROM_DSP
FILETIME ft;
GetSystemTimeAsFileTime(&ft); /* never fails */
return ft.dwHighDateTime ^ ft.dwLowDateTime;