mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-12 09:01:05 +00:00
add debug warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28647 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
65fb6dd5ac
commit
e87323edef
1 changed files with 1 additions and 0 deletions
|
@ -1058,6 +1058,7 @@ static inline BOOL timerInvalidated(NSTimer *t)
|
||||||
ti = GSTimeNow();
|
ti = GSTimeNow();
|
||||||
if (ti < now)
|
if (ti < now)
|
||||||
{
|
{
|
||||||
|
fprintf(stderr, "WARNING, we appear to have jumped back in time %g seconds.\n", now - ti);
|
||||||
now = ti;
|
now = ti;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue