03-04-2015, 09:19 PM
Hello,
i started to learn to compile files. I'm using Microsoft Visual Studio 12.0.
I've fixed somes errors (missed files) , but now i got this error :
Error 2 error C3861: 'gettimeofday': identifier not found f:\project 2015\lc_source\connector\utils.cpp 306 1 Connector
here is a screen of the function.
the code :
void GetTimeofDay(struct timeval *t, struct timezone* dummy)
{
#ifdef CIRCLE_WINDOWS
unsigned long millisec = GetTickCount();
t->tv_sec = (int)(millisec / 1000);
t->tv_usec = (millisec % 1000) * 1000;
#else
gettimeofday(t, dummy);
#endif
}
Thanks for help


