diff options
Diffstat (limited to 'ace/Addr.h')
-rw-r--r-- | ace/Addr.h | 8 |
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. |