rpms/clips/F-7 clips-6.24-time-sysdep.c.patch,NONE,1.1
Rick L. Vinyard, Jr. (rvinyard)
fedora-extras-commits at redhat.com
Sat Aug 25 16:58:24 UTC 2007
Author: rvinyard
Update of /cvs/extras/rpms/clips/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10038
Added Files:
clips-6.24-time-sysdep.c.patch
Log Message:
clips-6.24-time-sysdep.c.patch:
--- NEW FILE clips-6.24-time-sysdep.c.patch ---
--- clipssrc/clips/sysdep.c 2006-06-07 10:54:53.000000000 -0600
+++ clipssrc/clips/sysdep.c.patched 2007-08-25 10:45:45.000000000 -0600
@@ -736,10 +736,15 @@
struct timeval now;
gettimeofday(&now, 0);
return (now.tv_usec / 1000000.0) + now.tv_sec;
#endif
+#elif UNIX_7
+ struct timeval now;
+ gettimeofday(&now, 0);
+ return (now.tv_usec / 1000000.0) + now.tv_sec;
+
#else
return((double) clock() / (double) CLOCKS_PER_SEC);
#endif
}
More information about the fedora-extras-commits
mailing list