A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stop trying to build on native WIN32, it's broken anyway
[simgrid.git]
/
src
/
sthread
/
sthread_impl.cpp
diff --git
a/src/sthread/sthread_impl.cpp
b/src/sthread/sthread_impl.cpp
index
30e9a2a
..
c4aa27d
100644
(file)
--- a/
src/sthread/sthread_impl.cpp
+++ b/
src/sthread/sthread_impl.cpp
@@
-154,7
+154,7
@@
int sthread_gettimeofday(struct timeval* tv)
double secs = trunc(now);
double usecs = (now - secs) * 1e6;
tv->tv_sec = static_cast<time_t>(secs);
double secs = trunc(now);
double usecs = (now - secs) * 1e6;
tv->tv_sec = static_cast<time_t>(secs);
- tv->tv_usec = static_cast<decltype(tv->tv_usec)>(usecs); // suseconds_t
(or useconds_t on WIN32)
+ tv->tv_usec = static_cast<decltype(tv->tv_usec)>(usecs); // suseconds_t
}
return 0;
}
}
return 0;
}