[PATCH] D24903: [libcxx] [include] Declare __STDC_*_MACROS for C++11 compat in old libc

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 26 13:20:06 PDT 2016


EricWF accepted this revision.
EricWF added a comment.
This revision is now accepted and ready to land.

LGTM. Please remove the `LIBCXX` macros before committing.


================
Comment at: include/stdint.h:118
@@ +117,3 @@
+#   define __STDC_CONSTANT_MACROS
+#   define __STDC_CONSTANT_MACROS_DEFINED_BY_LIBCXX
+#endif
----------------
We don't actually need the `__STDC_CONSTANT_MACROS_DEFINED_BY_LIBCXX`. Please remove before commiting.


https://reviews.llvm.org/D24903





More information about the cfe-commits mailing list