diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-08-30 14:21:43 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-08-30 14:21:43 +0000 |
commit | 0b216efb5333c8a85135a2684b1b0c0f6f1366dc (patch) | |
tree | 82e6d5f5b95bbc37856024c2391ce517932f8570 /tests/Conn_Test.cpp | |
parent | d021f3a02183c024d11185c7bfff37dabf570fba (diff) | |
download | ATCD-0b216efb5333c8a85135a2684b1b0c0f6f1366dc.tar.gz |
added ACE_HAS_OLD_GNUG
Diffstat (limited to 'tests/Conn_Test.cpp')
-rw-r--r-- | tests/Conn_Test.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/Conn_Test.cpp b/tests/Conn_Test.cpp index de5167f9006..c254bee1cdb 100644 --- a/tests/Conn_Test.cpp +++ b/tests/Conn_Test.cpp @@ -180,14 +180,13 @@ Svc_Handler::idle (u_long flags) // Template specializations. Older versions of g++, such as 2.7.2.3, // can't deal with them, though. -#if defined (ACE_HAS_TEMPLATE_SPECIALIZATION) && \ - (!defined (__GNUG__) || (__GNUC__ > 2 || __GNUC_MINOR__ >= 90)) +#if defined (ACE_HAS_TEMPLATE_SPECIALIZATION) && !defined (ACE_HAS_OLD_GNUG) size_t ACE_Hash_Addr<ACE_INET_Addr>::hash_i (const ACE_INET_Addr &addr) const { return addr.get_ip_address () + addr.get_port_number (); } -#endif /* ACE_HAS_TEMPLATE_SPECIALIZATION && egcs, if __GNUG__ */ +#endif /* ACE_HAS_TEMPLATE_SPECIALIZATION && newer g++, if __GNUG__ */ // **************************************** |