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:
Richard Frith-MacDonald 2009-09-09 10:02:26 +00:00
parent 65fb6dd5ac
commit e87323edef

View file

@ -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;