diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
commit | 5c1001ce4f585836e1f83c28d1df89aee42fb743 (patch) | |
tree | 5967e9ca7d44ed1d2823be9746817ebb8e025f5d /tests/Conn_Test.h | |
parent | 2ae14b2b85ad813a269e8a5529aa76cf984fa8a5 (diff) | |
download | ATCD-5c1001ce4f585836e1f83c28d1df89aee42fb743.tar.gz |
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'tests/Conn_Test.h')
-rw-r--r-- | tests/Conn_Test.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/Conn_Test.h b/tests/Conn_Test.h index 44fbcf5b248..c0dc9c37de0 100644 --- a/tests/Conn_Test.h +++ b/tests/Conn_Test.h @@ -1,6 +1,11 @@ // $Id$ #include "ace/Service_Config.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + #include "ace/Svc_Handler.h" #include "ace/SOCK_Stream.h" @@ -8,7 +13,7 @@ class Svc_Handler : public ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> // = TITLE // This class is the product created by both <ACE_Connector> // and <ACE_Acceptor> objects. - // + // // = DESCRIPTION // This class gets its own header file to work around AIX C++ // compiler "features" related to template instantiation... It is |