blob: b09a711dd733495b49a6e60f3cadd9a6cf078c4c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- lib/FXThread.cpp.orig 2025-05-01 10:27:45 UTC
+++ lib/FXThread.cpp
@@ -387,7 +387,7 @@ FXTime FXThread::ticks(){
tbl&=-(FXint)(tbu0==tbu1);
return (((FXTime)tbu1) << 32) | tbl;
#elif (_POSIX_C_SOURCE >= 199309L)
- const NSTime seconds=1000000000;
+ const FXTime seconds=1000000000;
struct timespec ts;
clock_gettime(CLOCK_MONOTONIC,&ts); // Monotonic: no jumps!
return ts.tv_sec*seconds+ts.tv_nsec;
|