diff options
author | Mark de Wever <koraq@xs4all.nl> | 2024-05-03 17:29:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-03 17:29:27 +0200 |
commit | 6c4dedde08686edea9a1d5173313f44ef23ee38e (patch) | |
tree | f06e86a6d51ca49c6187b7ba9a1b197469f24224 /libcxx/modules/std/csignal.inc | |
parent | a06c1fefd1272b43fe995540768a9f0ed00ab645 (diff) | |
download | llvm-6c4dedde08686edea9a1d5173313f44ef23ee38e.zip llvm-6c4dedde08686edea9a1d5173313f44ef23ee38e.tar.gz llvm-6c4dedde08686edea9a1d5173313f44ef23ee38e.tar.bz2 |
[libc++][modules] Uses _LIBCPP_USING_IF_EXISTS. (#90409)
This attribute is used in the headers. Not using this in the modules has
led to several issues. Add them to the modules to avoid these errors in
other placed.
Diffstat (limited to 'libcxx/modules/std/csignal.inc')
-rw-r--r-- | libcxx/modules/std/csignal.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/modules/std/csignal.inc b/libcxx/modules/std/csignal.inc index b57e8ed..05f3986 100644 --- a/libcxx/modules/std/csignal.inc +++ b/libcxx/modules/std/csignal.inc @@ -8,11 +8,11 @@ //===----------------------------------------------------------------------===// export namespace std { - using std::sig_atomic_t; + using std::sig_atomic_t _LIBCPP_USING_IF_EXISTS; // [support.signal], signal handlers - using std::signal; + using std::signal _LIBCPP_USING_IF_EXISTS; - using std::raise; + using std::raise _LIBCPP_USING_IF_EXISTS; } // namespace std |