disable_system_calls: ensure gettimeofday is not a macro

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
Nikos Mavrogiannopoulos
2020-03-12 17:25:56 +01:00
committed by Nikos Mavrogiannopoulos
parent 6b84d7e681
commit 370cc7cdf7

View File

@@ -40,6 +40,9 @@
# endif
#endif
/* On certain cases gnulib defines gettimeofday as macro; avoid that */
#undef gettimeofday
int disable_system_calls(struct worker_st *ws)
{
int ret;