summaryrefslogtreecommitdiff
path: root/ace/Addr.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-12-05 02:52:28 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-12-05 02:52:28 +0000
commita22e6c79d18bb468458a80de7d870b6910439c4d (patch)
treeecb043450b6703858086ebec8666dbeeefe0c18d /ace/Addr.h
parentc943502d37fb1176087eed69e49964f419564a8c (diff)
downloadATCD-a22e6c79d18bb468458a80de7d870b6910439c4d.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Addr.h')
-rw-r--r--ace/Addr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ace/Addr.h b/ace/Addr.h
index e8a03e6ad13..331c4a4251f 100644
--- a/ace/Addr.h
+++ b/ace/Addr.h
@@ -62,8 +62,16 @@ public:
void base_set (int type, int size);
// Initializes instance variables.
+#if defined (ACE_HAS_BROKEN_SAP_ANY)
+ static const ACE_Addr sap_any (void);
+ // Wild-card address.
+
+ // This #define works around broken C++ compilers...
+#define sap_any sap_any()
+#else
static const ACE_Addr sap_any;
// Wild-card address.
+#endif /* ACE_HAS_BROKEN_SAP_ANY */
void dump (void) const;
// Dump the state of an object.