Compile under windows

This commit is contained in:
fredb
2009-03-13 07:33:38 +00:00
committed by Tim Moore
parent 42e76477cf
commit c2c4cad753

View File

@@ -63,7 +63,7 @@ void SGTimeStamp::stamp() {
unsigned int t;
t = timeGetTime();
_sec = t / 1000;
_nsec = ( t - ( seconds * 1000 ) ) * 1000 * 1000;
_nsec = ( t - ( _sec * 1000 ) ) * 1000 * 1000;
#elif defined(_POSIX_TIMERS) && (0 < _POSIX_TIMERS)
struct timespec ts;
#if defined(_POSIX_MONOTONIC_CLOCK)