diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-12-05 02:52:28 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-12-05 02:52:28 +0000 |
commit | 9eb5ef9f999782a55d4b5e46d0302f2e4d93b996 (patch) | |
tree | ecb043450b6703858086ebec8666dbeeefe0c18d /ace/Addr.cpp | |
parent | cdcee0a5c8c3c1fc69c280602f61dcd75fc522ac (diff) | |
download | ATCD-9eb5ef9f999782a55d4b5e46d0302f2e4d93b996.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Addr.cpp')
-rw-r--r-- | ace/Addr.cpp | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/ace/Addr.cpp b/ace/Addr.cpp index f91971a4c3b..e191f9caf4d 100644 --- a/ace/Addr.cpp +++ b/ace/Addr.cpp @@ -4,8 +4,22 @@ #define ACE_BUILD_DLL #include "ace/Addr.h" -// This is a static class variable. +#if defined (ACE_HAS_BROKEN_SAP_ANY) +#if defined (sap_any) +#undef sap_any +// This is a static class variable. +const ACE_Addr ace_sap_any (AF_ANY, -1); + +const ACE_Addr ACE_Addr::sap_any (void) +{ + return ace_sap_any; +} +#define sap_any sap_any() +#endif /* sap_any */ +#else +// This is a static class variable. const ACE_Addr ACE_Addr::sap_any (AF_ANY, -1); +#endif /* ACE_HAS_BROKEN_SAP_ANY */ #if !defined (__ACE_INLINE__) #include "ace/Addr.i" |