diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
commit | 0902828269fb1a42ed23c208fd61bac76aaddc13 (patch) | |
tree | 5967e9ca7d44ed1d2823be9746817ebb8e025f5d /ace/Log_Record.h | |
parent | e7788cff873f30e65d44d38db7cfafc175f748a3 (diff) | |
download | ATCD-0902828269fb1a42ed23c208fd61bac76aaddc13.tar.gz |
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'ace/Log_Record.h')
-rw-r--r-- | ace/Log_Record.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ace/Log_Record.h b/ace/Log_Record.h index de38ba930e1..5cf45662344 100644 --- a/ace/Log_Record.h +++ b/ace/Log_Record.h @@ -17,15 +17,16 @@ // These need to go outside of the #ifdef to avoid problems with // circular dependencies... #include "ace/ACE.h" -#include "ace/Log_Priority.h" -#ifndef ACE_LACKS_PRAGMA_ONCE -#pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ +#include "ace/Log_Priority.h" -#if !defined (ACE_LOG_RECORD_H) +#ifndef ACE_LOG_RECORD_H #define ACE_LOG_RECORD_H +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + class ACE_Export ACE_Log_Record { public: |