aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-02-22 16:35:03 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-02-22 17:00:44 +0300
commit70f6cbb7704f080baaa62811b863b131797abf29 (patch)
tree0058f4cbaf11731f01545dee12bd8c21518c395d
parent23f5901ca96f61a5e720656acd943131642c34bd (diff)
downloadydb-70f6cbb7704f080baaa62811b863b131797abf29.tar.gz
Disable Solaris-specific includes
a83bc72d0ef12e761de9aa4b197f744d0e6eff02
-rw-r--r--contrib/libs/apache/arrow/cpp/src/arrow/util/endian.h2
-rw-r--r--contrib/restricted/fast_float/include/fast_float/float_common.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libs/apache/arrow/cpp/src/arrow/util/endian.h b/contrib/libs/apache/arrow/cpp/src/arrow/util/endian.h
index 0cb2e44d275..2c2c415f549 100644
--- a/contrib/libs/apache/arrow/cpp/src/arrow/util/endian.h
+++ b/contrib/libs/apache/arrow/cpp/src/arrow/util/endian.h
@@ -23,7 +23,7 @@
#if defined(__APPLE__) || defined(__FreeBSD__)
#include <machine/endian.h> // IWYU pragma: keep
#elif defined(sun) || defined(__sun)
-#include <sys/byteorder.h> // IWYU pragma: keep
+#error #include <sys/byteorder.h> // IWYU pragma: keep
#else
#include <endian.h> // IWYU pragma: keep
#endif
diff --git a/contrib/restricted/fast_float/include/fast_float/float_common.h b/contrib/restricted/fast_float/include/fast_float/float_common.h
index 90b6ee888b5..102ef957622 100644
--- a/contrib/restricted/fast_float/include/fast_float/float_common.h
+++ b/contrib/restricted/fast_float/include/fast_float/float_common.h
@@ -100,7 +100,7 @@ using parse_options = parse_options_t<char>;
#if defined(__APPLE__) || defined(__FreeBSD__)
#include <machine/endian.h>
#elif defined(sun) || defined(__sun)
-#include <sys/byteorder.h>
+#error #include <sys/byteorder.h>
#elif defined(__MVS__)
#include <sys/endian.h>
#else