Index: include/__config |
diff --git a/include/__config b/include/__config |
index df0bb77c04daedaac3ffc6fbf2d83fbacd510b7b..6f57df5d233f7c3ae673727eb92ccb14443278ef 100644 |
--- a/include/__config |
+++ b/include/__config |
@@ -647,6 +647,10 @@ template <unsigned> struct __static_assert_check {}; |
#define _LIBCPP_ELAST ELAST |
#elif defined(__linux__) |
#define _LIBCPP_ELAST 4095 |
+// @LOCALMOD-START |
+#elif defined(__native_client__) |
+// NaCl doesn't have ELAST or __ELASTERROR |
+// @LOCALMOD-END |
#elif defined(_NEWLIB_VERSION) |
#define _LIBCPP_ELAST __ELASTERROR |
#elif defined(__APPLE__) |