[libcxx-commits] [PATCH] D79888: libc++: include unistd.h if available to get some preprocessor macros
Eric Fiselier via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed May 13 11:25:13 PDT 2020
EricWF requested changes to this revision.
EricWF added inline comments.
This revision now requires changes to proceed.
================
Comment at: libcxx/include/__config:13
+#if __has_include(<unistd.h>)
+// include unistd.h if available for some preprocessor defines like _NEWLIB_VERSION
----------------
Please do this later in the file,
Specifically after we `#define __has_include` in the case where we don't have it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79888/new/
https://reviews.llvm.org/D79888
More information about the libcxx-commits
mailing list