summaryrefslogtreecommitdiff
path: root/ace/Timeprobe.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-27 23:27:13 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-27 23:27:13 +0000
commit4fc562ccdb07afe4cbf41c157a22e4b98271d44f (patch)
treef0b1434d9ec01b823b31e2109a1818b08faa3f3b /ace/Timeprobe.h
parent0cce25fe4ee2a071bd3ed5dd446c93d7ebbb361d (diff)
downloadATCD-4fc562ccdb07afe4cbf41c157a22e4b98271d44f.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Timeprobe.h')
-rw-r--r--ace/Timeprobe.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/ace/Timeprobe.h b/ace/Timeprobe.h
index b79ea26682f..d910f9f251c 100644
--- a/ace/Timeprobe.h
+++ b/ace/Timeprobe.h
@@ -85,13 +85,15 @@ typedef ACE_Timeprobe<ACE_TIMEPROBE_MUTEX>
// their own instance of ACE_Timerprobe, without interfering with each
// other.
# if defined (ACE_TSS_TIMEPROBES)
-typedef ACE_TSS_Singleton<ACE_TIMEPROBE_WITH_LOCKING, ACE_SYNCH_NULL_MUTEX>
- ACE_TIMEPROBE_SINGLETON;
+#define ACE_TIMEPROBE_SINGLETON \
+ ACE_TSS_Singleton<ACE_TIMEPROBE_WITH_LOCKING, ACE_SYNCH_NULL_MUTEX>;
# else /* ACE_TSS_TIMEPROBES */
-typedef ACE_Singleton<ACE_TIMEPROBE_WITH_LOCKING, ACE_SYNCH_MUTEX>
- ACE_TIMEPROBE_SINGLETON;
+#define ACE_TIMEPROBE_SINGLETON \
+ ACE_Singleton<ACE_TIMEPROBE_WITH_LOCKING, ACE_SYNCH_MUTEX>;
# endif /* ACE_TSS_TIMEPROBES */
+ACE_SINGLETON_DECLARATION (ACE_TIMEPROBE_SINGLETON);
+
#endif /* ACE_COMPILE_TIMEPROBES */
// If ACE_ENABLE_TIMEPROBES is defined, the macros below will