libcxx-3.8.1-musl-support.patch 442 B

12345678910111213141516
  1. diff --git a/include/__config b/include/__config
  2. index db5a832..f463557 100644
  3. --- a/include/__config
  4. +++ b/include/__config
  5. @@ -11,6 +11,10 @@
  6. #ifndef _LIBCPP_CONFIG
  7. #define _LIBCPP_CONFIG
  8. +// Normally this definition is handled by cmake; but since we're not using
  9. +// cmake, we have to hardcode it here.
  10. +#define _LIBCPP_HAS_MUSL_LIBC
  11. +
  12. #if defined(_MSC_VER) && !defined(__clang__)
  13. #define _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
  14. #endif