summaryrefslogtreecommitdiff
path: root/tests/CLASSIX/CLASSIX_Select_Reactor_Test.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/CLASSIX/CLASSIX_Select_Reactor_Test.h')
-rw-r--r--tests/CLASSIX/CLASSIX_Select_Reactor_Test.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/tests/CLASSIX/CLASSIX_Select_Reactor_Test.h b/tests/CLASSIX/CLASSIX_Select_Reactor_Test.h
index 7c663b59ab5..6f992a74f90 100644
--- a/tests/CLASSIX/CLASSIX_Select_Reactor_Test.h
+++ b/tests/CLASSIX/CLASSIX_Select_Reactor_Test.h
@@ -5,7 +5,7 @@
//
// = LIBRARY
// tests
-//
+//
// = FILENAME
// MT_Reactor_Timer_Test.h
//
@@ -15,13 +15,18 @@
//
// = AUTHOR
// Steve Huston
-//
+//
// ============================================================================
-#if !defined (__MT_REACTOR_TIMER_TEST_H)
+#ifndef __MT_REACTOR_TIMER_TEST_H
#define __MT_REACTOR_TIMER_TEST_H
#include "ace/Reactor.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
#include "ace/Task.h"
class Time_Handler : public ACE_Task<ACE_SYNCH>
@@ -38,7 +43,7 @@ public:
const void *arg);
private:
- enum
+ enum
{
TIMER_SLOTS = 10
};