Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/external/apache2/llvm/dist/libcxx/include Disable avai...



details:   https://anonhg.NetBSD.org/src-all/rev/9e9e21345815
branches:  trunk
changeset: 952766:9e9e21345815
user:      Joerg Sonnenberger <joerg%bec.de@localhost>
date:      Thu Feb 04 16:06:45 2021 +0100

description:
Disable availability markers for NetBSD for now

diffstat:

 external/apache2/llvm/dist/libcxx/include/__config |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 46c09cbb8dc5 -r 9e9e21345815 external/apache2/llvm/dist/libcxx/include/__config
--- a/external/apache2/llvm/dist/libcxx/include/__config        Wed Feb 03 01:08:49 2021 +0100
+++ b/external/apache2/llvm/dist/libcxx/include/__config        Thu Feb 04 16:06:45 2021 +0100
@@ -273,6 +273,10 @@
 #  endif  // _BYTE_ORDER == _LITTLE_ENDIAN
 #endif  // defined(__NetBSD__) || defined(__OpenBSD__)
 
+#ifdef __NetBSD__
+#define _LIBCPP_DISABLE_AVAILABILITY
+#endif
+
 #if defined(_WIN32)
 #  define _LIBCPP_WIN32API
 #  define _LIBCPP_LITTLE_ENDIAN



Home | Main Index | Thread Index | Old Index