Compiling Connector
#1

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 Smile


Messages In This Thread
[No subject] - by WorldOfWars - 03-04-2015, 09:19 PM
[No subject] - by ZaTii - 03-04-2015, 10:02 PM
[No subject] - by WorldOfWars - 03-04-2015, 10:22 PM
[No subject] - by Karmel - 03-04-2015, 11:09 PM
[No subject] - by Sickness - 03-05-2015, 12:02 AM
[No subject] - by ZaTii - 03-05-2015, 12:47 AM
[No subject] - by Nikolee - 03-05-2015, 07:12 AM
[No subject] - by Wizatek - 03-05-2015, 12:08 PM
[No subject] - by Nikolee - 03-05-2015, 02:44 PM
[No subject] - by WorldOfWars - 03-05-2015, 04:22 PM
[No subject] - by WorldOfWars - 03-05-2015, 04:43 PM
[No subject] - by jeremie - 03-05-2015, 06:21 PM
[No subject] - by WorldOfWars - 03-05-2015, 07:16 PM
[No subject] - by Wizatek - 03-05-2015, 07:38 PM
[No subject] - by Karmel - 03-05-2015, 07:58 PM
[No subject] - by Tarissuis - 03-06-2015, 06:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)