diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-10-24 22:26:08 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-10-24 22:26:08 +0200 |
commit | e97e0882ffc87a91e7818137196f1b74134566df (patch) | |
tree | 285662381eaa0514f988142bff0c8a9685c84dc0 /tests/time.in.h | |
parent | cc0876a2fa9e703b1064992ab535f3eed57e9c71 (diff) | |
parent | cb4186bef1b44691db4221406d001a8d40c65b4b (diff) |
Merge branch 'feature/upstream' into develop
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 |