summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2023-06-08 21:05:41 -0700
committerThiago Macieira <thiago.macieira@intel.com>2023-07-24 13:24:36 -0700
commitf174ae254b2b57e23458d2e9e5710e9a86df1c95 (patch)
treef351f3dacb22874fc517297723908eea4442f4b3
parenta1451bbb575eb7aee7d6a91dab562e9fc5dff47f (diff)
QEventDispatcherUNIX: clean up old cruft
All the timing related code is gone. Change-Id: I63b988479db546dabffcfffd1766e1f2618650c1 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
-rw-r--r--src/corelib/kernel/qeventdispatcher_unix.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_unix.cpp b/src/corelib/kernel/qeventdispatcher_unix.cpp
index 8cdd535aa9..7b965fde3d 100644
--- a/src/corelib/kernel/qeventdispatcher_unix.cpp
+++ b/src/corelib/kernel/qeventdispatcher_unix.cpp
@@ -23,18 +23,8 @@
# include <sys/eventfd.h>
#endif
-// VxWorks doesn't correctly set the _POSIX_... options
#if defined(Q_OS_VXWORKS)
-# if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK <= 0)
-# undef _POSIX_MONOTONIC_CLOCK
-# define _POSIX_MONOTONIC_CLOCK 1
-# endif
# include <pipeDrv.h>
-# include <sys/time.h>
-#endif
-
-#if (_POSIX_MONOTONIC_CLOCK-0 <= 0) || defined(QT_BOOTSTRAPPED)
-# include <sys/times.h>
#endif
QT_BEGIN_NAMESPACE