aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-02-11 21:50:46 +0300
committerDaniil Cherednik <dcherednik@ydb.tech>2024-02-14 14:25:59 +0000
commit79c83250e10e57d403e60ebcd1c2931005ef8914 (patch)
tree33421def91bfe7e14561fb078a8e0c144b7a2a21
parentd695a5c67a24c0cd93d925109c461a6bcec73c8b (diff)
downloadydb-79c83250e10e57d403e60ebcd1c2931005ef8914.tar.gz
Disable VxWorks specific includes in contrib/libs/poco
-rw-r--r--build/sysincl/unsorted.yml4
-rw-r--r--contrib/libs/poco/Foundation/src/Clock.cpp2
-rw-r--r--contrib/libs/poco/Foundation/src/Event_POSIX.cpp2
-rw-r--r--contrib/libs/poco/Foundation/src/Mutex_POSIX.cpp2
-rw-r--r--contrib/libs/poco/Foundation/src/Semaphore_POSIX.cpp2
-rw-r--r--contrib/libs/poco/Foundation/src/Thread_VX.cpp2
-rw-r--r--contrib/libs/poco/Foundation/src/Timestamp.cpp2
7 files changed, 6 insertions, 10 deletions
diff --git a/build/sysincl/unsorted.yml b/build/sysincl/unsorted.yml
index 6b951e4203..3ae5b56c72 100644
--- a/build/sysincl/unsorted.yml
+++ b/build/sysincl/unsorted.yml
@@ -215,10 +215,6 @@
includes:
- port.h
-- source_filter: "^contrib/libs/poco"
- includes:
- - timers.h
-
- includes:
- cpu-features.h
- cpuid.h
diff --git a/contrib/libs/poco/Foundation/src/Clock.cpp b/contrib/libs/poco/Foundation/src/Clock.cpp
index e52cd5db45..428f83ef64 100644
--- a/contrib/libs/poco/Foundation/src/Clock.cpp
+++ b/contrib/libs/poco/Foundation/src/Clock.cpp
@@ -22,7 +22,7 @@
#include <time.h>
#include <unistd.h>
#elif defined(POCO_VXWORKS)
-#include <timers.h>
+#error #include <timers.h>
#elif defined(POCO_OS_FAMILY_WINDOWS)
#include "Poco/UnWindows.h"
#endif
diff --git a/contrib/libs/poco/Foundation/src/Event_POSIX.cpp b/contrib/libs/poco/Foundation/src/Event_POSIX.cpp
index 50fb6f78a8..5d42f6e7b6 100644
--- a/contrib/libs/poco/Foundation/src/Event_POSIX.cpp
+++ b/contrib/libs/poco/Foundation/src/Event_POSIX.cpp
@@ -14,7 +14,7 @@
#include "Poco/Event_POSIX.h"
#if defined(POCO_VXWORKS)
-#include <timers.h>
+#error #include <timers.h>
#include <cstring>
#else
#include <time.h>
diff --git a/contrib/libs/poco/Foundation/src/Mutex_POSIX.cpp b/contrib/libs/poco/Foundation/src/Mutex_POSIX.cpp
index 56132ef5d5..423ebf6585 100644
--- a/contrib/libs/poco/Foundation/src/Mutex_POSIX.cpp
+++ b/contrib/libs/poco/Foundation/src/Mutex_POSIX.cpp
@@ -19,7 +19,7 @@
#endif
#include <unistd.h>
#if defined(POCO_VXWORKS)
-#include <timers.h>
+#error #include <timers.h>
#include <cstring>
#else
#include <sys/time.h>
diff --git a/contrib/libs/poco/Foundation/src/Semaphore_POSIX.cpp b/contrib/libs/poco/Foundation/src/Semaphore_POSIX.cpp
index f4818af200..5e03726a76 100644
--- a/contrib/libs/poco/Foundation/src/Semaphore_POSIX.cpp
+++ b/contrib/libs/poco/Foundation/src/Semaphore_POSIX.cpp
@@ -14,7 +14,7 @@
#include "Poco/Semaphore_POSIX.h"
#if defined(POCO_VXWORKS)
-#include <timers.h>
+#error #include <timers.h>
#include <cstring>
#else
#include <time.h>
diff --git a/contrib/libs/poco/Foundation/src/Thread_VX.cpp b/contrib/libs/poco/Foundation/src/Thread_VX.cpp
index d1883bf915..14cd8908b8 100644
--- a/contrib/libs/poco/Foundation/src/Thread_VX.cpp
+++ b/contrib/libs/poco/Foundation/src/Thread_VX.cpp
@@ -17,7 +17,7 @@
#include "Poco/Exception.h"
#include "Poco/Timestamp.h"
#include "Poco/Timespan.h"
-#include <timers.h>
+#error #include <timers.h>
namespace Poco {
diff --git a/contrib/libs/poco/Foundation/src/Timestamp.cpp b/contrib/libs/poco/Foundation/src/Timestamp.cpp
index aca1e3494a..8f9689b0a6 100644
--- a/contrib/libs/poco/Foundation/src/Timestamp.cpp
+++ b/contrib/libs/poco/Foundation/src/Timestamp.cpp
@@ -23,7 +23,7 @@
#include <time.h>
#include <unistd.h>
#if defined(POCO_VXWORKS)
-#include <timers.h>
+#error #include <timers.h>
#else
#include <sys/time.h>
#include <sys/times.h>