Created
August 26, 2014 21:37
-
-
Save jroelofs/e8059b44c819154f6ee8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 65481e4038c37dc63d068889903640423e5782d4 | |
Author: Jonathan Roelofs <jonathan@codesourcery.com> | |
Date: Thu Aug 14 11:39:23 2014 -0600 | |
[libcxx] Add Newlib's version of ELAST to libcxx/src/ios.cpp | |
diff --git a/libcxx/src/ios.cpp b/libcxx/src/ios.cpp | |
index a762a07..c1f83e0 100644 | |
--- a/libcxx/src/ios.cpp | |
+++ b/libcxx/src/ios.cpp | |
@@ -58,6 +58,8 @@ __iostream_category::message(int ev) const | |
&& ev <= ELAST | |
#elif defined(__linux__) | |
&& ev <= 4095 | |
+#elif defined(_NEWLIB_VERSION) && defined(__ELASTERROR) | |
+ && ev <= __ELASTERROR | |
#endif // ELAST | |
) | |
return __do_message::message(ev); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment