summaryrefslogtreecommitdiff
path: root/examples/Logger
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2002-12-31 02:37:27 +0000
committerSteve Huston <shuston@riverace.com>2002-12-31 02:37:27 +0000
commitc8c8dd504e89a5988d08b295b665fd8ec6c09e28 (patch)
tree0b73916658ab1e49d1091ef183cadf43af0f45e2 /examples/Logger
parent9282a80efd00f896d1bfc1e9cdc83a0c5ed2c7f9 (diff)
downloadATCD-c8c8dd504e89a5988d08b295b665fd8ec6c09e28.tar.gz
ChangeLogTag:Mon Dec 30 21:30:41 2002 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'examples/Logger')
-rw-r--r--examples/Logger/Acceptor-server/server_loggerd.cpp2
-rw-r--r--examples/Logger/simple-server/server_loggerd.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/Logger/Acceptor-server/server_loggerd.cpp b/examples/Logger/Acceptor-server/server_loggerd.cpp
index da1591602f3..247aa5d1197 100644
--- a/examples/Logger/Acceptor-server/server_loggerd.cpp
+++ b/examples/Logger/Acceptor-server/server_loggerd.cpp
@@ -228,7 +228,7 @@ template class ACE_Test_and_Set<ACE_Null_Mutex, sig_atomic_t>;
#pragma instantiate ACE_Singleton<Options, ACE_Null_Mutex>
#pragma instantiate ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH>
#pragma instantiate ACE_Test_and_Set<ACE_Null_Mutex, sig_atomic_t>
-#elif defined (__GNUC__) && defined (_AIX)
+#elif defined (__GNUC__) && (defined (_AIX) || defined (__hpux))
template ACE_Singleton<ACE_Reactor, ACE_Null_Mutex> *
ACE_Singleton<ACE_Reactor, ACE_Null_Mutex>::singleton_;
template ACE_Singleton<Options, ACE_Null_Mutex> *
diff --git a/examples/Logger/simple-server/server_loggerd.cpp b/examples/Logger/simple-server/server_loggerd.cpp
index aaef80e5406..e2dd16a1f33 100644
--- a/examples/Logger/simple-server/server_loggerd.cpp
+++ b/examples/Logger/simple-server/server_loggerd.cpp
@@ -82,7 +82,7 @@ main (int argc, char *argv[])
template class ACE_Singleton<ACE_Reactor, ACE_Null_Mutex>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
#pragma instantiate ACE_Singleton<ACE_Reactor, ACE_Null_Mutex>
-#elif defined (__GNUC__) && defined (_AIX)
+#elif defined (__GNUC__) && (defined (_AIX) || defined (__hpux))
template ACE_Singleton<ACE_Reactor, ACE_Null_Mutex> *
ACE_Singleton<ACE_Reactor, ACE_Null_Mutex>::singleton_;
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */