summaryrefslogtreecommitdiff
path: root/tests/test_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_config.h')
-rw-r--r--tests/test_config.h7
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