mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Fix year 2001 bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4885 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
48fbc75abb
commit
42ca73da20
2 changed files with 3 additions and 5 deletions
|
@ -118,10 +118,6 @@ GSTimeNow()
|
|||
gettimeofday (&tp, NULL);
|
||||
interval += tp.tv_sec;
|
||||
interval += (double)tp.tv_usec / 1000000.0;
|
||||
|
||||
/* There seems to be a problem with bad double arithmetic... */
|
||||
NSCAssert(interval < 0, NSInternalInconsistencyException);
|
||||
|
||||
return interval;
|
||||
#else
|
||||
SYSTEMTIME sys_time;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue