Files
bind9/lib/isc/win32
Ondřej SurýandEvan Hunt 5ae4d3d94a 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.

(cherry picked from commit 08f4c7d6c0)
2020-03-17 15:45:35 -07:00
..
2019-10-04 14:34:21 +10:00
2019-03-07 21:29:59 -08:00
2019-11-12 09:22:15 +01:00
2019-09-13 13:57:41 +10:00
2017-11-27 14:04:47 +11:00
2020-02-24 22:04:43 -08:00
2019-09-12 19:31:56 +10:00