mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(gl_FUNC_TZSET_CLOBBER): Also define gmtime.
This commit is contained in:
1 parent
f6b3325690
commit
954603b708
1 file changed
+5
@@ -52,9 +52,14 @@ main ()
|
||||
[Define to 1 if you have run the test for working tzset.])
|
||||
|
||||
if test $gl_cv_func_tzset_clobber = yes; then
|
||||
# Caution: the following few lines should be the same
|
||||
# as those in gettimeofday.m4.
|
||||
AC_LIBOBJ(gettimeofday)
|
||||
AC_DEFINE(gmtime, rpl_gmtime,
|
||||
[Define to rpl_gmtime if the replacement function should be used.])
|
||||
AC_DEFINE(localtime, rpl_localtime,
|
||||
[Define to rpl_localtime if the replacement function should be used.])
|
||||
|
||||
AC_DEFINE(tzset, rpl_tzset,
|
||||
[Define to rpl_tzset if the wrapper function should be used.])
|
||||
AC_DEFINE(TZSET_CLOBBERS_LOCALTIME_BUFFER, 1,
|
||||
|
||||
Reference in new issue
Block a user