Commit 681e777d authored by Simon Morlat's avatar Simon Morlat

fix bad declaration of gettimeofday for c++

parent 92f78b95
......@@ -226,11 +226,17 @@ struct timeval {
};
#endif
#ifdef __cplusplus
extern "C"{
#endif
int gettimeofday (struct timeval *tv, void* tz);
#ifdef _WORKAROUND_MINGW32_BUGS
char * WSAAPI gai_strerror(int errnum);
#endif
#ifdef __cplusplus
}
#endif
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment