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/test_config.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/test_config.h')
-rw-r--r-- | tests/test_config.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/test_config.h b/tests/test_config.h index 52b6a4ab0e3..d5b2ca208b5 100644 --- a/tests/test_config.h +++ b/tests/test_config.h @@ -12,10 +12,15 @@ // // ============================================================================ -#if !defined (ACE_TEST_CONFIG_H) +#ifndef ACE_TEST_CONFIG_H #define ACE_TEST_CONFIG_H #include "ace/inc_user_config.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + #if defined (ACE_NLOGGING) // ACE_NLOGGING must not be set if the tests are to produce any output. #undef ACE_NLOGGING |