Skip to content
Snippets Groups Projects
Commit 08ed5699 authored by Marek Vavruša's avatar Marek Vavruša
Browse files

tests/integration: buildfix until proper function detection

parent aab2888c
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,11 @@
struct timeval g_mock_time; /* Mocked system time */
PyObject *g_mock_server = NULL; /* Mocked endpoint for recursive queries */
#ifdef __APPLE__
int gettimeofday(struct timeval *tv, void *tz)
#else
int gettimeofday(struct timeval *tv, struct timezone *tz)
#endif
{
memcpy(tv, &g_mock_time, sizeof(struct timeval));
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment