diff options
Diffstat (limited to 'examples/Shared_Malloc/Malloc.h')
-rw-r--r-- | examples/Shared_Malloc/Malloc.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/Shared_Malloc/Malloc.h b/examples/Shared_Malloc/Malloc.h index 57a1eecd1f2..6d4cb6bfc12 100644 --- a/examples/Shared_Malloc/Malloc.h +++ b/examples/Shared_Malloc/Malloc.h @@ -1,11 +1,15 @@ /* -*- C++ -*- */ // $Id$ -#if !defined (MY_MALLOC_H) +#ifndef MY_MALLOC_H #define MY_MALLOC_H #include "ace/Malloc.h" +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + class Malloc // = TITLE // Allocator Singleton. |