summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/LocalObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/LocalObject.h')
-rw-r--r--cpp/include/Ice/LocalObject.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/include/Ice/LocalObject.h b/cpp/include/Ice/LocalObject.h
index fd765e04f0a..01f17caf60f 100644
--- a/cpp/include/Ice/LocalObject.h
+++ b/cpp/include/Ice/LocalObject.h
@@ -10,6 +10,12 @@
#ifndef ICE_LOCAL_OBJECT_H
#define ICE_LOCAL_OBJECT_H
+#if !defined(ICE_CPP11_MAPPING) || defined(ICE_BUILDING_SRC)
+//
+// Part of the C++98 mapping, and "internal" definitions when building Ice
+// with the C++11 mapping
+//
+
#include <IceUtil/Shared.h>
#include <Ice/LocalObjectF.h>
@@ -27,3 +33,4 @@ public:
}
#endif
+#endif