mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-25 12:40:26 +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
|
@ -79,15 +79,9 @@ void *alloca (size_t);
|
|||
#include <direct.h>
|
||||
#endif
|
||||
|
||||
#ifdef TIME_WITH_SYS_TIME
|
||||
#include <time.h>
|
||||
#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
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue