1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00

Fix the MS-Windows build

* nt/inc/sys/time.h (gettimeofday):
* src/w32.c (gettimeofday): Adjust signature to match Gnulib.
This commit is contained in:
Eli Zaretskii 2017-05-14 17:53:39 +03:00
parent 4132bd74e9
commit 3af6909f32
2 changed files with 5 additions and 3 deletions

View file

@ -42,7 +42,7 @@ struct timezone
which does not force the use of -std= switch to GCC, and that
causes compilation errors with 'restrict', which is a C99
extension. */
int gettimeofday (struct timeval *__restrict, struct timezone *__restrict);
int gettimeofday (struct timeval *__restrict, void *__restrict);
#define ITIMER_REAL 0
#define ITIMER_PROF 1