Files
bind9/lib/isc/win32
Ondřej Surý 08f4c7d6c0 Add C11 localtime_r and gmtime_r shims for Windows
On Windows, C11 localtime_r() and gmtime_r() functions are not
available.  While localtime() and gmtime() functions are already thread
safe because they use Thread Local Storage, it's quite ugly to #ifdef
around every localtime_r() and gmtime_r() usage to make the usage also
thread-safe on POSIX platforms.

The commit adds wrappers around Windows localtime_s() and gmtime_s()
functions.

NOTE: The implementation of localtime_s and gmtime_s in Microsoft CRT
are incompatible with the C standard since it has reversed parameter
order and errno_t return type.
2020-03-17 13:28:15 -07:00
..
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-14 09:31:05 +01:00
2020-02-14 09:31:05 +01:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00