summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ObjectCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/ObjectCache.h')
-rw-r--r--cpp/src/IceGrid/ObjectCache.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/ObjectCache.h b/cpp/src/IceGrid/ObjectCache.h
index c1e77dd5e9c..523b90f231e 100644
--- a/cpp/src/IceGrid/ObjectCache.h
+++ b/cpp/src/IceGrid/ObjectCache.h
@@ -7,7 +7,8 @@
//
// **********************************************************************
-#pragma once
+#ifndef ICE_GRID_OBJECTCACHE_H
+#define ICE_GRID_OBJECTCACHE_H
#include <IceUtil/Mutex.h>
#include <Ice/CommunicatorF.h>
@@ -80,3 +81,5 @@ private:
};
};
+
+#endif