mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
disable_system_calls: ensure gettimeofday is not a macro
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
committed by
Nikos Mavrogiannopoulos
parent
6b84d7e681
commit
370cc7cdf7
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user