summaryrefslogtreecommitdiff
path: root/cpp/test/include/TestCommon.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/include/TestCommon.h')
-rw-r--r--cpp/test/include/TestCommon.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/test/include/TestCommon.h b/cpp/test/include/TestCommon.h
index 37642613bc2..1341dd65f58 100644
--- a/cpp/test/include/TestCommon.h
+++ b/cpp/test/include/TestCommon.h
@@ -12,6 +12,12 @@
#include <IceUtil/IceUtil.h>
+#ifdef ICE_CPP11_MAPPING
+# define ICE_IN(T) T
+#else
+# define ICE_IN(T) const T##&
+#endif
+
#if defined(ICE_OS_WINRT) || (TARGET_OS_IPHONE)
# include <Ice/Initialize.h>
# include <Ice/Logger.h>