MSVC ANT.cpp compile error on gettimeofday()

.. not available, use get_timeofday() instead.
This commit is contained in:
Mark Liversedge
2016-01-04 13:29:34 +00:00
parent 9f26ba1991
commit 02239797ec

View File

@@ -869,7 +869,7 @@ ANT::sendMessage(ANTMessage m) {
//fprintf(stderr, "\n");
struct timeval timestamp;
gettimeofday(&timestamp, NULL);
get_timeofday (&timestamp);
unsigned char RS='S';
emit sentAntMessage(RS, m, timestamp);