[libcxx] r216977 - Silence _LIBCPP_ELAST porting warning on __APPLE__

Jonathan Roelofs jonathan at codesourcery.com
Tue Sep 2 15:09:50 PDT 2014


Author: jroelofs
Date: Tue Sep  2 17:09:50 2014
New Revision: 216977

URL: http://llvm.org/viewvc/llvm-project?rev=216977&view=rev
Log:
Silence _LIBCPP_ELAST porting warning on __APPLE__

This fixes a warning accidentally introduced in r216943.

Modified:
    libcxx/trunk/include/__config

Modified: libcxx/trunk/include/__config
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=216977&r1=216976&r2=216977&view=diff
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Tue Sep  2 17:09:50 2014
@@ -641,6 +641,8 @@ template <unsigned> struct __static_asse
 #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





More information about the cfe-commits mailing list