aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2012-09-10 12:16:22 +0200
committerAmit Pundir <amit.pundir@linaro.org>2013-07-25 03:55:56 +0530
commitf61db1b268d95c9989b47681749f77be5d606528 (patch)
treeca590f9dffd48dd1911d726a272e0800a982e778
parent0a6fd777b10e3838dca77a517db024057aa69ac9 (diff)
downloadstlport-linaro_android_4.3.tar.gz
stlport: Fix incompatibility with clang++ (used by llvm) in ISO C++11 modelinaro_android_4.3.1linaro_android_4.3
clang++ has a strange idea about wchar_t Change-Id: I9f73e88cc06c35e988b33576ea235046ea51d546 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r--stlport/stl/_limits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stlport/stl/_limits.h b/stlport/stl/_limits.h
index c0091f6..349211a 100644
--- a/stlport/stl/_limits.h
+++ b/stlport/stl/_limits.h
@@ -210,7 +210,7 @@ class numeric_limits<unsigned char>
: public _STLP_PRIV _Integer_limits<unsigned char, 0, UCHAR_MAX, -1, true>
{};
-#if !(defined (_STLP_NO_WCHAR_T) || defined (_STLP_WCHAR_T_IS_USHORT))
+#if !(defined (_STLP_NO_WCHAR_T) || defined (_STLP_WCHAR_T_IS_USHORT)) && !defined(__clang__)
_STLP_TEMPLATE_NULL
class numeric_limits<wchar_t>