summaryrefslogtreecommitdiff
path: root/ace/Malloc_T.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-11-18 21:53:07 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-11-18 21:53:07 +0000
commit7bbbebfbf06cf64937f3b27e51237bdf046a2a19 (patch)
tree27bbff1966e994926deb11ee2850cc4f71a66b90 /ace/Malloc_T.cpp
parent5a34e0200cd988d5113ca35f036c8a591b48e3f8 (diff)
downloadATCD-7bbbebfbf06cf64937f3b27e51237bdf046a2a19.tar.gz
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'ace/Malloc_T.cpp')
-rw-r--r--ace/Malloc_T.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/ace/Malloc_T.cpp b/ace/Malloc_T.cpp
index 1a8b2a1c55f..359d8f480fe 100644
--- a/ace/Malloc_T.cpp
+++ b/ace/Malloc_T.cpp
@@ -1,12 +1,16 @@
// Malloc_T.cpp
// $Id$
-#if !defined (ACE_MALLOC_T_C)
+#ifndef ACE_MALLOC_T_C
#define ACE_MALLOC_T_C
#define ACE_BUILD_DLL
#include "ace/Malloc_T.h"
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
#if !defined (__ACE_INLINE__)
#include "ace/Malloc_T.i"
#endif /* __ACE_INLINE__ */