summaryrefslogtreecommitdiff
path: root/ace/config-win32-common.h
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2000-09-25 15:49:55 +0000
committerSteve Huston <shuston@riverace.com>2000-09-25 15:49:55 +0000
commitd10677b2b8d3b9c99f44a6304f6e1962c6d1035d (patch)
treec75d3844aae6a57f0523bce557e1447d6608e6eb /ace/config-win32-common.h
parent6fab3fc5694d7fd6f8d858b8664e681c683988af (diff)
downloadATCD-d10677b2b8d3b9c99f44a6304f6e1962c6d1035d.tar.gz
ChangeLogTag:Mon Sep 25 11:45:53 2000 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/config-win32-common.h')
-rw-r--r--ace/config-win32-common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ace/config-win32-common.h b/ace/config-win32-common.h
index dbb25851d7c..89244889acc 100644
--- a/ace/config-win32-common.h
+++ b/ace/config-win32-common.h
@@ -42,6 +42,14 @@
# define ACE_HAS_MFC 0
#endif
+// If the invoking procedure turned off debugging by setting NDEBUG, then
+// also set ACE_NDEBUG, unless the user has already set it.
+#if defined (NDEBUG)
+# if !defined (ACE_NDEBUG)
+# define ACE_NDEBUG
+# endif /* ACE_NDEBUG */
+#endif /* NDEBUG */
+
// Define ACE_HAS_STRICT to 1 in your config.h file if you want to use
// STRICT type checking. It is disabled by default because it will
// break existing application code.