[PATCH] D54339: Fix threads detection on GNU/Hurd

Louis Dionne via Phabricator reviews at reviews.llvm.org
Mon Nov 19 07:49:24 PST 2018


ldionne requested changes to this revision.
ldionne added inline comments.
This revision now requires changes to proceed.


================
Comment at: include/__config:1146
       defined(__linux__) || \
+      defined(__GNU__) || \
       defined(__APPLE__) || \
----------------
According to https://sourceforge.net/p/predef/wiki/OperatingSystems/, an equivalent way of checking that would be `__gnu_hurd__`. I would prefer that as it is more explicit. Otherwise LGTM.


Repository:
  rCXX libc++

https://reviews.llvm.org/D54339





More information about the libcxx-commits mailing list