summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-02-28 14:42:40 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-02-28 14:42:40 +0000
commitf242488932c81331759f9a1d242967cf08fb3dc1 (patch)
tree8fb4fb507e8deecadf202d9a668d6418e8617903
parent1e6360407c051049184021614924c963af0cea1d (diff)
downloadATCD-f242488932c81331759f9a1d242967cf08fb3dc1.tar.gz
ChangeLogTag: Mon Feb 28 14:42:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--TAO/tao/ORB_Constants.h50
1 files changed, 27 insertions, 23 deletions
diff --git a/TAO/tao/ORB_Constants.h b/TAO/tao/ORB_Constants.h
index 1efe5541709..6e324f0f908 100644
--- a/TAO/tao/ORB_Constants.h
+++ b/TAO/tao/ORB_Constants.h
@@ -113,30 +113,34 @@ namespace TAO
*/
//@{
/// TAO VMCID assigned by the OMG.
-/**
- * @note This constant has historically been used in the wrong way.
- * It was often used as the @a location argument to the @c
- * CORBA::SystemException::_tao_minor_code() static method. A
- * more appropriate default @a location argument/value would
- * have been zero since the location code resides in portion of
- * the lower order 12 bits, not the higher order 20 bits which
- * is where the VMCID resides, and what this value happens to
- * be.
- *
- * @deprecated Please use @c TAO::VMCID instead, or zero if being used
- * as default TAO exception location code argument.
- *
- * @see @c TAO::VMCID
- */
-const CORBA::ULong TAO_DEFAULT_MINOR_CODE = TAO::VMCID;
+#if !defined (ACE_LACKS_DEPRECATED_MACROS)
+ /**
+ * @note This constant has historically been used in the wrong way.
+ * It was often used as the @a location argument to the @c
+ * CORBA::SystemException::_tao_minor_code() static method. A
+ * more appropriate default @a location argument/value would
+ * have been zero since the location code resides in portion of
+ * the lower order 12 bits, not the higher order 20 bits which
+ * is where the VMCID resides, and what this value happens to
+ * be.
+ *
+ * @deprecated Please use @c TAO::VMCID instead, or zero if being used
+ * as default TAO exception location code argument.
+ *
+ * @see @c TAO::VMCID
+ */
+ const CORBA::ULong TAO_DEFAULT_MINOR_CODE = TAO::VMCID;
+#endif /* !ACE_LACKS_DEPRECATED_MACROS */
-/// Maximum allowed system exception minor code.
-/**
- * @deprecated Please use @c TAO::MAX_MINOR_CODE instead.
- *
- * @see @c TAO::MAX_MINOR_CODE
- */
-const CORBA::ULong TAO_MAX_MINOR_CODE = TAO::MAX_MINOR_CODE;
+#if !defined (ACE_LACKS_DEPRECATED_MACROS)
+ /// Maximum allowed system exception minor code.
+ /**
+ * @deprecated Please use @c TAO::MAX_MINOR_CODE instead.
+ *
+ * @see @c TAO::MAX_MINOR_CODE
+ */
+ const CORBA::ULong TAO_MAX_MINOR_CODE = TAO::MAX_MINOR_CODE;
+#endif /* !ACE_LACKS_DEPRECATED_MACROS */
//@}
/// A dummy service context that is inserted in the service context