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 /performance-tests/Misc | |
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 'performance-tests/Misc')
-rw-r--r-- | performance-tests/Misc/basic_func.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/performance-tests/Misc/basic_func.h b/performance-tests/Misc/basic_func.h index 84dba6d208f..9628087aa2c 100644 --- a/performance-tests/Misc/basic_func.h +++ b/performance-tests/Misc/basic_func.h @@ -4,7 +4,7 @@ // // = LIBRARY // performance-tests/Misc -// +// // = FILENAME // basic_func.h // @@ -13,11 +13,18 @@ // // = AUTHOR // David Levine -// +// // ============================================================================ +#ifndef BASIC_FUNC_H +#define BASIC_FUNC_H + #include "ace/ACE.h" +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + extern int A,B,C,D,E,F; // If your compiler optimizes away Empty_Iteration_Test::run (), then @@ -67,5 +74,4 @@ class Foo_d_v : public Foo_v virtual void v_func (); }; - -// EOF +#endif /8 BASIC_FUNC_H */ |