X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsys_times.in.h;h=57f3a7209d5145c276234ea9a7bcf49bef7b89a8;hb=2c35d5c11d2359c7ebb06a3388a544cbe2f9c7f5;hp=8ae132bf40e09ec95b728194fdee6b007aed838c;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/lib/sys_times.in.h b/lib/sys_times.in.h index 8ae132bf4..57f3a7209 100644 --- a/lib/sys_times.in.h +++ b/lib/sys_times.in.h @@ -38,10 +38,10 @@ # include # endif -/* The definition of GL_LINK_WARNING is copied here. */ - /* The definition of _GL_ARG_NONNULL is copied here. */ +/* The definition of _GL_WARN_ON_USE is copied here. */ + # ifdef __cplusplus extern "C" { # endif @@ -64,10 +64,10 @@ extern "C" { # endif # elif defined GNULIB_POSIXCHECK # undef times -# define times(s) \ - (GL_LINK_WARNING ("times is unportable - " \ - "use gnulib module times for portability"), \ - times (s)) +# if HAVE_RAW_DECL_TIMES +_GL_WARN_ON_USE (times, "times is unportable - " + "use gnulib module times for portability"); +# endif # endif # ifdef __cplusplus