From 5c1001ce4f585836e1f83c28d1df89aee42fb743 Mon Sep 17 00:00:00 2001 From: levine Date: Tue, 20 Oct 1998 02:34:57 +0000 Subject: changed include protection from #if !defined to ifndef, and added #pragma once, if possible --- tests/test_config.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests/test_config.h') 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 -- cgit v1.2.1