summaryrefslogtreecommitdiff
path: root/ace/ACE.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-11-19 14:09:13 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-11-19 14:09:13 +0000
commitc84479660eb7026c2f7cd5599e8c6650f61bb032 (patch)
tree946f82a136c258509a04a4a212d8fa92a903c57a /ace/ACE.cpp
parentc427a215e022c181e76510131bb1d3cad683f14d (diff)
downloadATCD-c84479660eb7026c2f7cd5599e8c6650f61bb032.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/ACE.cpp')
-rw-r--r--ace/ACE.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/ACE.cpp b/ace/ACE.cpp
index e5f31947e0a..e1d9893fa5c 100644
--- a/ace/ACE.cpp
+++ b/ace/ACE.cpp
@@ -2339,7 +2339,7 @@ ACE::get_ip_interfaces (size_t &count,
}
}
return 0;
-#elif defined(__unix)
+#elif defined (__unix)
// COMMON (SVR4 and BSD) UNIX CODE
size_t num_ifs;
@@ -2411,10 +2411,10 @@ ACE::get_ip_interfaces (size_t &count,
#endif /* ACE_WIN32 */
}
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) && defined (__unix)
template class ACE_Auto_Array_Ptr<struct ifreq>;
template class ACE_Auto_Basic_Array_Ptr<struct ifreq>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
#pragma instantiate ACE_Auto_Array_Ptr<struct ifreq>
#pragma instantiate ACE_Auto_Basic_Array_Ptr<struct ifreq>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION && __unix */