diff options
author | Nikolas Klauser <nikolasklauser@berlin.de> | 2024-11-06 10:39:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-06 10:39:19 +0100 |
commit | c6f3b7bcd0596d30f8dabecdfb9e44f9a07b6e4c (patch) | |
tree | dbfd623fea1771448ff564d5fc4221db7fca2f84 /libcxx/docs/DesignDocs/ThreadingSupportAPI.rst | |
parent | 5acc4a3dc0e2145d2bfef47f1543bb291c2b866a (diff) | |
download | llvm-c6f3b7bcd0596d30f8dabecdfb9e44f9a07b6e4c.zip llvm-c6f3b7bcd0596d30f8dabecdfb9e44f9a07b6e4c.tar.gz llvm-c6f3b7bcd0596d30f8dabecdfb9e44f9a07b6e4c.tar.bz2 |
[libc++] Refactor the configuration macros to being always defined (#112094)
This is a follow-up to #89178. This updates the `<__config_site>`
macros.
Diffstat (limited to 'libcxx/docs/DesignDocs/ThreadingSupportAPI.rst')
-rw-r--r-- | libcxx/docs/DesignDocs/ThreadingSupportAPI.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/docs/DesignDocs/ThreadingSupportAPI.rst b/libcxx/docs/DesignDocs/ThreadingSupportAPI.rst index e7f3de5..d103c49 100644 --- a/libcxx/docs/DesignDocs/ThreadingSupportAPI.rst +++ b/libcxx/docs/DesignDocs/ThreadingSupportAPI.rst @@ -45,9 +45,9 @@ API but leaves out the implementation. Threading Configuration Macros ============================== -**_LIBCPP_HAS_NO_THREADS** - This macro is defined when libc++ is built without threading support. It - should not be manually defined by the user. +**_LIBCPP_HAS_THREADS** + This macro is set to 1 when libc++ is built with threading support. Otherwise + it is set to 0. It should not be manually defined by the user. **_LIBCPP_HAS_THREAD_API_EXTERNAL** This macro is defined when libc++ should use the ``<__external_threading>`` |