> From: Bruno Haible <br...@clisp.org>
> Cc: bug-gnulib@gnu.org, egg...@cs.ucla.edu, andrewjmore...@gmail.com, 
> emacs-de...@gnu.org
> Date: Sun, 19 Aug 2018 02:17:52 +0200
> 
> > diff --git a/lib/gettimeofday.c b/lib/gettimeofday.c
> > index bff40d7..36b5074 100644
> > --- a/lib/gettimeofday.c
> > +++ b/lib/gettimeofday.c
> > @@ -33,6 +33,10 @@
> >  
> >  #ifdef WINDOWS_NATIVE
> >  
> > +/* Avoid warnings from gcc -Wcast-function-type.  */
> > +# define GetProcAddress \
> > +   (void *) GetProcAddress
> > +
> >  /* GetSystemTimePreciseAsFileTime was introduced only in Windows 8.  */
> >  typedef void (WINAPI * GetSystemTimePreciseAsFileTimeFuncType) (FILETIME 
> > *lpTime);
> >  static GetSystemTimePreciseAsFileTimeFuncType 
> > GetSystemTimePreciseAsFileTimeFunc = NULL;
> 
> Tested and pushed to gnulib.

Thank you.

Reply via email to