diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-11-18 21:53:07 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-11-18 21:53:07 +0000 |
commit | d54912ac64c92fbe6b925e58453ff283722c03d5 (patch) | |
tree | 27bbff1966e994926deb11ee2850cc4f71a66b90 /ace/Managed_Object.cpp | |
parent | 88e695add297838c73e12d5e6ca8b3c515bb9921 (diff) | |
download | ATCD-d54912ac64c92fbe6b925e58453ff283722c03d5.tar.gz |
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'ace/Managed_Object.cpp')
-rw-r--r-- | ace/Managed_Object.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ace/Managed_Object.cpp b/ace/Managed_Object.cpp index d12508f625f..a3673f7eefa 100644 --- a/ace/Managed_Object.cpp +++ b/ace/Managed_Object.cpp @@ -2,11 +2,15 @@ #define ACE_BUILD_DLL -#if !defined (ACE_MANAGED_OBJECT_CPP) +#ifndef ACE_MANAGED_OBJECT_CPP #define ACE_MANAGED_OBJECT_CPP #include "ace/Managed_Object.h" +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + #if !defined (__ACE_INLINE__) #include "ace/Managed_Object.i" #endif /* __ACE_INLINE__ */ |