Browse Source

Disable VxWorks specific includes in contrib/libs/poco

thegeorg 1 year ago
parent
commit
d00b2e410e

+ 0 - 4
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

+ 1 - 1
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

+ 1 - 1
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>

+ 1 - 1
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>

+ 1 - 1
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>

+ 1 - 1
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 {

+ 1 - 1
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>