summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Roelofs <jonathan@codesourcery.com>2014-09-02 22:09:50 +0000
committerJonathan Roelofs <jonathan@codesourcery.com>2014-09-02 22:09:50 +0000
commit6ca513c913ce4e0e938947e37c50bc0969098119 (patch)
treea7337702d7defc2a999d59c7e41cc4dc50e0b15e
parent838600482a9642d5ccebcaf896064bac1b5306a8 (diff)
downloadbcm5719-llvm-6ca513c913ce4e0e938947e37c50bc0969098119.tar.gz
bcm5719-llvm-6ca513c913ce4e0e938947e37c50bc0969098119.zip
Silence _LIBCPP_ELAST porting warning on __APPLE__
This fixes a warning accidentally introduced in r216943. llvm-svn: 216977
-rw-r--r--libcxx/include/__config2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config
index 6347b51fa32..5bb55fa10a2 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -641,6 +641,8 @@ template <unsigned> struct __static_assert_check {};
#define _LIBCPP_ELAST 4095
#elif defined(_NEWLIB_VERSION)
#define _LIBCPP_ELAST __ELASTERROR
+#elif defined(__APPLE__)
+// Not _LIBCPP_ELAST needed on Apple
#else
// Warn here so that the person doing the libcxx port has an easier time:
#warning This platform's ELAST hasn't been ported yet
OpenPOWER on IntegriCloud