mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-26 21:20:30 +02:00
[slog] Assume STDC_HEADERS is defined
* configure.ac (guile_cv_localtime_cache): Rewrite preprocessor conditional block, assuming STDC_HEADERS is 1. * libguile/gen-scmconfig.c (SCM_HAVE_STDC_HEADERS): #define to 1 unconditionally. Rewrite preprocessor conditional block, assuming STDC_HEADERS is 1. * libguile/putenv.c: Rewrite preprocessor conditional block, assuming STDC_HEADERS is 1.
This commit is contained in:
parent
b03b0c7947
commit
4ba2d72b32
3 changed files with 9 additions and 21 deletions
|
@ -35,17 +35,7 @@
|
|||
char *malloc ();
|
||||
#endif /* GNU C library. */
|
||||
|
||||
#if defined(STDC_HEADERS) || defined(HAVE_STRING_H)
|
||||
#include <string.h>
|
||||
#else
|
||||
#include <strings.h>
|
||||
#ifndef strchr
|
||||
#define strchr index
|
||||
#endif
|
||||
#ifndef memcpy
|
||||
#define memcpy(d, s, n) bcopy((s), (d), (n))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue