summaryrefslogtreecommitdiff
path: root/ace/config-win32.h
diff options
context:
space:
mode:
authorgonzo <gonzo@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-07 05:08:12 +0000
committergonzo <gonzo@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-07 05:08:12 +0000
commit55ad606f5d96c21c073bc685b079f42c79de5dfb (patch)
treed6f033acca75f831127c70265cdb83495f892216 /ace/config-win32.h
parent2ad26f6525e7a7d143bc4333a33172f31a0d48e5 (diff)
downloadATCD-55ad606f5d96c21c073bc685b079f42c79de5dfb.tar.gz
Revised support for Borland C++ 5.x
Diffstat (limited to 'ace/config-win32.h')
-rw-r--r--ace/config-win32.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/ace/config-win32.h b/ace/config-win32.h
index 0bc8e173208..159043c20cc 100644
--- a/ace/config-win32.h
+++ b/ace/config-win32.h
@@ -26,11 +26,13 @@
// Additonal notes: Defining _WIN32_WINNT as 0x0400 implies ACE_HAS_WINSOCK2
// unless you set ACE_HAS_WINSOCK2 to 0 in the config.h file.
#if !defined (ACE_HAS_WINNT4)
- #define ACE_HAS_WINNT4 1 // assuming Win NT 4.0 or greater
+ #define ACE_HAS_WINNT4 1 // assuming Win NT 4.0 or greater
+#endif
- #if !defined (_WIN32_WINNT)
- #define _WIN32_WINNT 0x0400
- #endif
+#if (defined (ACE_HAS_WINNT4) && ACE_HAS_WINNT4 != 0)
+ #if !defined (_WIN32_WINNT)
+ #define _WIN32_WINNT 0x0400
+ #endif
#endif
// Define ACE_HAS_MFC to 1, if you want ACE to use CWinThread. This should