summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/Functional.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/Functional.h')
-rw-r--r--cpp/include/Ice/Functional.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/include/Ice/Functional.h b/cpp/include/Ice/Functional.h
index 3241df1ceb7..96f1d2d24e9 100644
--- a/cpp/include/Ice/Functional.h
+++ b/cpp/include/Ice/Functional.h
@@ -10,6 +10,8 @@
#ifndef ICE_FUNCTIONAL_H
#define ICE_FUNCTIONAL_H
+# if !defined(ICE_CPP11_MAPPING) || defined(ICE_BUILDING_SRC)
+
#include <IceUtil/Functional.h>
#include <Ice/Handle.h>
@@ -137,4 +139,5 @@ secondConstVoidMemFun1(void (T::*p)(A) const)
}
+# endif
#endif