diff options
Diffstat (limited to 'examples/Threads/auto_event.cpp')
-rw-r--r-- | examples/Threads/auto_event.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/Threads/auto_event.cpp b/examples/Threads/auto_event.cpp index 4f83d50db71..77f3cf82ace 100644 --- a/examples/Threads/auto_event.cpp +++ b/examples/Threads/auto_event.cpp @@ -103,6 +103,11 @@ main (int argc, char **argv) return 0; } + +#if defined (ACE_TEMPLATES_REQUIRE_SPECIALIZATION) +template class ACE_Singleton<ACE_Auto_Event, ACE_Thread_Mutex>; +#endif /* ACE_TEMPLATES_REQUIRE_SPECIALIZATION */ + #else int main (int, char *[]) @@ -111,3 +116,4 @@ main (int, char *[]) return 0; } #endif /* ACE_HAS_THREADS */ + |