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 | 7bbbebfbf06cf64937f3b27e51237bdf046a2a19 (patch) | |
tree | 27bbff1966e994926deb11ee2850cc4f71a66b90 /ace/Future.cpp | |
parent | 5a34e0200cd988d5113ca35f036c8a591b48e3f8 (diff) | |
download | ATCD-7bbbebfbf06cf64937f3b27e51237bdf046a2a19.tar.gz |
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'ace/Future.cpp')
-rw-r--r-- | ace/Future.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ace/Future.cpp b/ace/Future.cpp index 41be67947d2..236b2d681bf 100644 --- a/ace/Future.cpp +++ b/ace/Future.cpp @@ -3,11 +3,15 @@ #define ACE_BUILD_DLL -#if !defined (ACE_FUTURE_CPP) +#ifndef ACE_FUTURE_CPP #define ACE_FUTURE_CPP #include "ace/Future.h" +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + ACE_RCSID(ace, Future, "$Id$") #if defined (ACE_HAS_THREADS) |