diff options
| author | thegeorg <[email protected]> | 2024-02-11 21:50:46 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2024-02-14 14:25:59 +0000 |
| commit | 79c83250e10e57d403e60ebcd1c2931005ef8914 (patch) | |
| tree | 33421def91bfe7e14561fb078a8e0c144b7a2a21 | |
| parent | d695a5c67a24c0cd93d925109c461a6bcec73c8b (diff) | |
Disable VxWorks specific includes in contrib/libs/poco
| -rw-r--r-- | build/sysincl/unsorted.yml | 4 | ||||
| -rw-r--r-- | contrib/libs/poco/Foundation/src/Clock.cpp | 2 | ||||
| -rw-r--r-- | contrib/libs/poco/Foundation/src/Event_POSIX.cpp | 2 | ||||
| -rw-r--r-- | contrib/libs/poco/Foundation/src/Mutex_POSIX.cpp | 2 | ||||
| -rw-r--r-- | contrib/libs/poco/Foundation/src/Semaphore_POSIX.cpp | 2 | ||||
| -rw-r--r-- | contrib/libs/poco/Foundation/src/Thread_VX.cpp | 2 | ||||
| -rw-r--r-- | contrib/libs/poco/Foundation/src/Timestamp.cpp | 2 |
7 files changed, 6 insertions, 10 deletions
diff --git a/build/sysincl/unsorted.yml b/build/sysincl/unsorted.yml index 6b951e42038..3ae5b56c72e 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 e52cd5db453..428f83ef644 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 50fb6f78a82..5d42f6e7b66 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 56132ef5d58..423ebf65859 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 f4818af2004..5e03726a76c 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 d1883bf9156..14cd8908b87 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 aca1e3494a3..8f9689b0a67 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> |
