Declare asctime_r, ctime_r, gmtime_r, localtime_r for C2X.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 11 Nov 2019 15:04:48 +0000 (15:04 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 11 Nov 2019 15:04:48 +0000 (15:04 +0000)
commit80a5f8b1569bdecd8d517ae312a98e3c8f224f4b
tree7ecb7a4373a5496d15a202d2d40cac5e15ae7799
parent258c242128a35e7fc17aff34c9dc23cd7576e88f
Declare asctime_r, ctime_r, gmtime_r, localtime_r for C2X.

C2X adds the asctime_r, ctime_r, gmtime_r and localtime_r functions.
This patch duly adds __GLIBC_USE (ISOC2X) to the conditions under
which <time.h> declares them.

Tested for x86_64.
time/time.h