mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-26 05:00:28 +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
|
@ -151,18 +151,10 @@ main (int argc, char *argv[])
|
|||
pf ("/* limits.h not available */\n");
|
||||
#endif
|
||||
|
||||
# ifdef TIME_WITH_SYS_TIME
|
||||
pf ("#include <sys/time.h>\n");
|
||||
pf ("#include <time.h>\n");
|
||||
# else
|
||||
# ifdef HAVE_SYS_TIME_H
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
pf ("#include <sys/time.h>\n");
|
||||
# else
|
||||
# ifdef HAVE_TIME_H
|
||||
pf ("#include <time.h>\n");
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
pf("\n");
|
||||
#ifdef STDC_HEADERS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue