diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-10-24 22:25:29 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-10-24 22:25:29 +0200 |
commit | 26112352a774737e1ce5580c93654a26c1e82b39 (patch) | |
tree | d64e2f5b6e7aa92fa9a8ffb8ae5df75310532714 /tests/time.in.h | |
parent | be8efac78d067c138ad8dda03df4336e73f94887 (diff) |
New upstream version 1.1upstream/1.1upstream
Diffstat (limited to 'tests/time.in.h')
-rw-r--r-- | tests/time.in.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/time.in.h b/tests/time.in.h index 6d4c771..6aa6749 100644 --- a/tests/time.in.h +++ b/tests/time.in.h @@ -435,8 +435,10 @@ _GL_WARN_ON_USE (asctime, "asctime can overrun buffers in some cases - " # endif # if defined GNULIB_POSIXCHECK # undef asctime_r +# if HAVE_RAW_DECL_ASCTIME_R _GL_WARN_ON_USE (asctime_r, "asctime_r can overrun buffers in some cases - " "better use strftime (or even sprintf) instead"); +# endif # endif # if defined GNULIB_POSIXCHECK # undef ctime @@ -445,8 +447,10 @@ _GL_WARN_ON_USE (ctime, "ctime can overrun buffers in some cases - " # endif # if defined GNULIB_POSIXCHECK # undef ctime_r +# if HAVE_RAW_DECL_CTIME_R _GL_WARN_ON_USE (ctime_r, "ctime_r can overrun buffers in some cases - " "better use strftime (or even sprintf) instead"); +# endif # endif #endif |