summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qeventdispatcher_unix_p.h
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-07-30 12:09:22 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-07-31 08:29:14 (GMT)
commit919ac1291c6e7d163b58679eae691f866b40f71b (patch)
tree32ab30f3cd95705c28b6d3cb6d2df75830865139 /src/corelib/kernel/qeventdispatcher_unix_p.h
parent65f6a08ba7d26405a9de683ea0806b400ba8b26d (diff)
downloadQt-919ac1291c6e7d163b58679eae691f866b40f71b.zip
Qt-919ac1291c6e7d163b58679eae691f866b40f71b.tar.gz
Qt-919ac1291c6e7d163b58679eae691f866b40f71b.tar.bz2
Compile on HP-UXi
There is no monotonic clock support on HP-UXi at all, and the _POSIX_MONOTONIC_CLOCK macro is not defined at all (not even to -1). We handle this in the event dispatcher, but not in qcore_unix.cpp. Since the monotonic clock time code has moved, the define of _POSIX_MONOTONIC_CLOCK to -1 should also move. Reviewed-by: thiago
Diffstat (limited to 'src/corelib/kernel/qeventdispatcher_unix_p.h')
-rw-r--r--src/corelib/kernel/qeventdispatcher_unix_p.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_unix_p.h b/src/corelib/kernel/qeventdispatcher_unix_p.h
index 9c67c70..5e016d3 100644
--- a/src/corelib/kernel/qeventdispatcher_unix_p.h
+++ b/src/corelib/kernel/qeventdispatcher_unix_p.h
@@ -69,9 +69,6 @@
#endif
QT_BEGIN_NAMESPACE
-#if !defined(_POSIX_MONOTONIC_CLOCK)
-# define _POSIX_MONOTONIC_CLOCK -1
-#endif
// internal timer info
struct QTimerInfo {