aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-02-12 13:08:04 +0300
committerDaniil Cherednik <dcherednik@ydb.tech>2024-02-14 14:26:25 +0000
commit0186100cad6976f1096f4e7de1ba2dcc08b2cd32 (patch)
treeb380a593cbcf8450e00092b0e56f270567491d69 /contrib
parent931b87532467d2cb4605c80a2da40f748d442938 (diff)
downloadydb-0186100cad6976f1096f4e7de1ba2dcc08b2cd32.tar.gz
Disable BeOS / Haiku sysincls
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libs/libxml/threads.c2
-rw-r--r--contrib/libs/libxml/xmllint/ya.make2
-rw-r--r--contrib/libs/libxml/xmlmodule.c2
-rw-r--r--contrib/libs/mimalloc/src/stats.c2
-rw-r--r--contrib/tools/python/src/Modules/timemodule.c4
5 files changed, 5 insertions, 7 deletions
diff --git a/contrib/libs/libxml/threads.c b/contrib/libs/libxml/threads.c
index 503d2bfbec..153fc59007 100644
--- a/contrib/libs/libxml/threads.c
+++ b/contrib/libs/libxml/threads.c
@@ -35,7 +35,7 @@
#endif
#ifdef HAVE_BEOS_THREADS
-#include <OS.h>
+#error #include <OS.h>
#include <TLS.h>
#endif
diff --git a/contrib/libs/libxml/xmllint/ya.make b/contrib/libs/libxml/xmllint/ya.make
index 590f28b946..fd5c34b68a 100644
--- a/contrib/libs/libxml/xmllint/ya.make
+++ b/contrib/libs/libxml/xmllint/ya.make
@@ -6,8 +6,6 @@ LICENSE(MIT)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-WITHOUT_LICENSE_TEXTS()
-
PEERDIR(
contrib/libs/libiconv
contrib/libs/libxml
diff --git a/contrib/libs/libxml/xmlmodule.c b/contrib/libs/libxml/xmlmodule.c
index 1867a5e160..5091a59454 100644
--- a/contrib/libs/libxml/xmlmodule.c
+++ b/contrib/libs/libxml/xmlmodule.c
@@ -357,7 +357,7 @@ XML_POP_WARNINGS
#ifdef HAVE_BEOS
-#include <kernel/image.h>
+#error #include <kernel/image.h>
/*
* xmlModulePlatformOpen:
diff --git a/contrib/libs/mimalloc/src/stats.c b/contrib/libs/mimalloc/src/stats.c
index c94fbde9db..7358539aa5 100644
--- a/contrib/libs/mimalloc/src/stats.c
+++ b/contrib/libs/mimalloc/src/stats.c
@@ -489,7 +489,7 @@ static void mi_stat_process_info(mi_msecs_t* elapsed, mi_msecs_t* utime, mi_msec
#endif
#if defined(__HAIKU__)
-#include <kernel/OS.h>
+#error #include <kernel/OS.h>
#endif
static mi_msecs_t timeval_secs(const struct timeval* tv) {
diff --git a/contrib/tools/python/src/Modules/timemodule.c b/contrib/tools/python/src/Modules/timemodule.c
index 212d21acc2..6118cdd7cf 100644
--- a/contrib/tools/python/src/Modules/timemodule.c
+++ b/contrib/tools/python/src/Modules/timemodule.c
@@ -87,8 +87,8 @@ static long main_thread;
#ifdef __BEOS__
#include <time.h>
/* For bigtime_t, snooze(). - [cjh] */
-#include <support/SupportDefs.h>
-#include <kernel/OS.h>
+#error #include <support/SupportDefs.h>
+#error #include <kernel/OS.h>
#endif
#ifdef RISCOS