summaryrefslogtreecommitdiff
path: root/ace/Log_Priority.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-05 16:10:53 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-05 16:10:53 +0000
commitc73188bcf88a2a6a3b6103287a4cd6a82750d4b0 (patch)
tree3fc7a076b0592b11c1a2d31a72f1b98cc5513def /ace/Log_Priority.h
parentc682b74b7bc4ae3583e12609eba43fb4458bf043 (diff)
downloadATCD-c73188bcf88a2a6a3b6103287a4cd6a82750d4b0.tar.gz
changed ENSURE_32_BITS to LM_ENSURE_32_BITS, and its value from 0xffffffff to 0x7fffffff
Diffstat (limited to 'ace/Log_Priority.h')
-rw-r--r--ace/Log_Priority.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/ace/Log_Priority.h b/ace/Log_Priority.h
index 3d66d35fc32..a43f8a1ea24 100644
--- a/ace/Log_Priority.h
+++ b/ace/Log_Priority.h
@@ -69,17 +69,16 @@ enum ACE_Log_Priority
LM_MAX = LM_EMERGENCY,
// The maximum logging priority.
- // Do not use!!, this enum value ensures that the underlying
+ // Do not use!! This enum value ensures that the underlying
// integral type for this enum is at least 32 bits.
-#if !defined (ACE_HAS_BROKEN_ENUMS)
- ENSURE_32_BITS = 0xFFFFFFFF
-#else
- ENSURE_32_BITS = 0x1FFFFFFF
+#if defined (ACE_HAS_BROKEN_ENUMS)
+ LM_ENSURE_32_BITS = 0x1FFFFFFF
// HP/CXX makes an error the usage of "long enumerators", but this
// one (that requires 29 bits) is OK.... only HP can come up with
// something like that...
-#endif /* ACE_HAS_BROKEN_ENUMS */
+#else /* ! ACE_HAS_BROKEN_ENUMS */
+ LM_ENSURE_32_BITS = 0x7FFFFFFF
+#endif /* ! ACE_HAS_BROKEN_ENUMS */
};
#endif /* ACE_LOG_PRIORITY_H */
-