[PATCH] D38567: [config] Warn when POSIX_C_SOURCE breaks threading support on Darwin

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 10 09:43:37 PDT 2017


arphaman added inline comments.


================
Comment at: include/__threading_support:26
 
+#if (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && (__MAC_OS_X_VERSION_MIN_REQUIRED < 101300)) \
+    || (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && (__IPHONE_OS_VERSION_MIN_REQUIRED < 110000)) \
----------------
Please add a brief comment that describes why the check and the warning are needed.


https://reviews.llvm.org/D38567





More information about the cfe-commits mailing list