mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
MSVC ANT.cpp compile error on gettimeofday()
.. not available, use get_timeofday() instead.
This commit is contained in:
@@ -869,7 +869,7 @@ ANT::sendMessage(ANTMessage m) {
|
||||
//fprintf(stderr, "\n");
|
||||
|
||||
struct timeval timestamp;
|
||||
gettimeofday(×tamp, NULL);
|
||||
get_timeofday (×tamp);
|
||||
unsigned char RS='S';
|
||||
emit sentAntMessage(RS, m, timestamp);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user