bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9000: patch for higher-resolution time stamps


From: Eli Zaretskii
Subject: bug#9000: patch for higher-resolution time stamps
Date: Sat, 23 Jun 2012 22:08:27 +0300

> Date: Sat, 23 Jun 2012 11:55:37 -0700
> From: Paul Eggert <address@hidden>
> CC: address@hidden
> 
> === modified file 'src/s/ms-w32.h'
> --- src/s/ms-w32.h    2012-06-23 10:22:59 +0000
> +++ src/s/ms-w32.h    2012-06-23 18:54:35 +0000
> @@ -296,6 +296,15 @@
>  #define utime          _utime
>  #endif
>  
> +#ifdef _MSC_VER
> +/* MSVC does not define struct timespec in <time.h>.  */
> +struct timespec
> +{
> +  time_t     tv_sec;         /* seconds */
> +  long int   tv_nsec;        /* nanoseconds */
> +};
> +#endif

I don't get it: are you trying to fix only the MSVC build?  If not,
where are the bits for MinGW?  What did I miss?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]