summaryrefslogtreecommitdiff
path: root/examples/Shared_Malloc/Options.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
commit5c1001ce4f585836e1f83c28d1df89aee42fb743 (patch)
tree5967e9ca7d44ed1d2823be9746817ebb8e025f5d /examples/Shared_Malloc/Options.h
parent2ae14b2b85ad813a269e8a5529aa76cf984fa8a5 (diff)
downloadATCD-5c1001ce4f585836e1f83c28d1df89aee42fb743.tar.gz
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'examples/Shared_Malloc/Options.h')
-rw-r--r--examples/Shared_Malloc/Options.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/Shared_Malloc/Options.h b/examples/Shared_Malloc/Options.h
index 931f7411673..c96cd5fb322 100644
--- a/examples/Shared_Malloc/Options.h
+++ b/examples/Shared_Malloc/Options.h
@@ -1,11 +1,15 @@
/* -*- C++ -*- */
// $Id$
-#if !defined (_OPTIONS)
+#ifndef _OPTIONS
#define _OPTIONS
#include "ace/OS.h"
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
class Options
// = TITLE
// Options Singleton.