aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-02-25 02:23:38 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-02-25 02:35:34 +0300
commit58ab335856cb83c1087c2597e21ec94e3f62348b (patch)
tree802bacc7ed2223bf9f0923655e4523eb422e1354
parentf9e45d9dd1fc7c858cb65aac7b3bf357b443545c (diff)
downloadydb-58ab335856cb83c1087c2597e21ec94e3f62348b.tar.gz
Disable Solaris-specific includes
4f153b26762c99335ff9614130e0b7511138685b
-rw-r--r--contrib/libs/cxxsupp/builtins/int_endianness.h2
-rw-r--r--contrib/libs/icu/include/unicode/platform.h2
-rw-r--r--contrib/python/numpy/py2/numpy/core/include/numpy/npy_math.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libs/cxxsupp/builtins/int_endianness.h b/contrib/libs/cxxsupp/builtins/int_endianness.h
index 7995ddbb95..5aca6d29c1 100644
--- a/contrib/libs/cxxsupp/builtins/int_endianness.h
+++ b/contrib/libs/cxxsupp/builtins/int_endianness.h
@@ -31,7 +31,7 @@
#else /* Compilers other than Clang or GCC. */
#if defined(__SVR4) && defined(__sun)
-#include <sys/byteorder.h>
+#error #include <sys/byteorder.h>
#if defined(_BIG_ENDIAN)
#define _YUGA_LITTLE_ENDIAN 0
diff --git a/contrib/libs/icu/include/unicode/platform.h b/contrib/libs/icu/include/unicode/platform.h
index a997843660..ed1cd25f1b 100644
--- a/contrib/libs/icu/include/unicode/platform.h
+++ b/contrib/libs/icu/include/unicode/platform.h
@@ -186,7 +186,7 @@
* header file is included with stddef.h but on Solairs/GCC, the GCC version of stddef.h
* is included which does not include this header file.
*/
-# include <sys/isa_defs.h>
+# error #include <sys/isa_defs.h>
# endif
#elif defined(_AIX) || defined(__TOS_AIX__)
# define U_PLATFORM U_PF_AIX
diff --git a/contrib/python/numpy/py2/numpy/core/include/numpy/npy_math.h b/contrib/python/numpy/py2/numpy/core/include/numpy/npy_math.h
index 582390cdcb..71951264fb 100644
--- a/contrib/python/numpy/py2/numpy/core/include/numpy/npy_math.h
+++ b/contrib/python/numpy/py2/numpy/core/include/numpy/npy_math.h
@@ -7,7 +7,7 @@ extern "C" {
#include <math.h>
#ifdef __SUNPRO_CC
-#include <sunmath.h>
+#error #include <sunmath.h>
#endif
#ifdef HAVE_NPY_CONFIG_H
#include <npy_config.h>