summaryrefslogtreecommitdiff
path: root/ace/config-win32-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/config-win32-common.h')
-rw-r--r--ace/config-win32-common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ace/config-win32-common.h b/ace/config-win32-common.h
index 0aa37d9c1a4..549ed1a0206 100644
--- a/ace/config-win32-common.h
+++ b/ace/config-win32-common.h
@@ -7,6 +7,11 @@
#ifndef ACE_WIN32_COMMON_H
#define ACE_WIN32_COMMON_H
+// Define WIN32 if not already defined.
+#ifndef WIN32
+#define WIN32
+#endif /* WIN32 */
+
// ---------------- platform features or lack of them -------------
#if !defined (ACE_HAS_WINCE)