summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/Cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/IceUtil/Cache.h')
-rw-r--r--cpp/include/IceUtil/Cache.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/include/IceUtil/Cache.h b/cpp/include/IceUtil/Cache.h
index 4c698585072..44899f2c9cf 100644
--- a/cpp/include/IceUtil/Cache.h
+++ b/cpp/include/IceUtil/Cache.h
@@ -7,7 +7,8 @@
//
// **********************************************************************
-#pragma once
+#ifndef ICE_UTIL_CACHE_H
+#define ICE_UTIL_CACHE_H
#include <IceUtil/Handle.h>
#include <IceUtil/Mutex.h>
@@ -357,3 +358,5 @@ Cache<Key, Value>::pinImpl(const Key& key, const Handle<Value>& newObj)
}
}
+
+#endif