================
Comment at: src/ios.cpp:56
@@ -54,6 +55,3 @@
if (ev != static_cast<int>(io_errc::stream)
-#ifdef ELAST
- && ev <= ELAST
-#elif defined(__linux__)
- && ev <= 4095
-#endif // ELAST
+#ifdef _LIBCPP_ELAST
+ && ev <= _LIBCPP_ELAST
----------------
Could also define _LIBCPP_ELAST to a large dummy value that would make the
second half of the conditional always true and get rid of all the pesky ifdefs.
Up to you. I'm happy with the patch now.
http://reviews.llvm.org/D5079
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits