summaryrefslogtreecommitdiff
path: root/tests/Process_Strategy_Test.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
commit0902828269fb1a42ed23c208fd61bac76aaddc13 (patch)
tree5967e9ca7d44ed1d2823be9746817ebb8e025f5d /tests/Process_Strategy_Test.h
parente7788cff873f30e65d44d38db7cfafc175f748a3 (diff)
downloadATCD-0902828269fb1a42ed23c208fd61bac76aaddc13.tar.gz
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'tests/Process_Strategy_Test.h')
-rw-r--r--tests/Process_Strategy_Test.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/Process_Strategy_Test.h b/tests/Process_Strategy_Test.h
index 7731eb014df..7944355255b 100644
--- a/tests/Process_Strategy_Test.h
+++ b/tests/Process_Strategy_Test.h
@@ -15,10 +15,15 @@
//
// ============================================================================
-#if !defined (PROCESS_STRATEGY_TEST_H)
+#ifndef PROCESS_STRATEGY_TEST_H
#define PROCESS_STRATEGY_TEST_H
#include "ace/Event_Handler.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
#include "ace/SOCK_Stream.h"
#include "ace/Svc_Handler.h"