mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-29 14:30:34 +02:00
[slog] No longer use TIME_WITH_SYS_TIME
* configure.ac (struct tm.tm_gmtoff): Simplify conditional preproc expression to not use ‘TIME_WITH_SYS_TIME’, and instead #include <time.h> unconditionally. * libguile/filesys.c: Simplify conditional preproc expression to not use ‘TIME_WITH_SYS_TIME’, and instead #include <time.h> unconditionally. * libguile/posix.c: Likewise. * libguile/gen-scmconfig.c: Likewise, for generation code.
This commit is contained in:
parent
019675a3de
commit
5838f795dc
4 changed files with 7 additions and 34 deletions
|
@ -1214,15 +1214,8 @@ AC_CHECK_MEMBERS([struct stat.st_rdev, struct stat.st_blksize, struct stat.st_bl
|
|||
AC_STRUCT_TIMEZONE
|
||||
AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,
|
||||
[#include <time.h>
|
||||
#ifdef TIME_WITH_SYS_TIME
|
||||
#if HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
# include <time.h>
|
||||
#else
|
||||
# if HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
# else
|
||||
# include <time.h>
|
||||
# endif
|
||||
#endif
|
||||
])
|
||||
GUILE_STRUCT_UTIMBUF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue