mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 16:53:02 +00:00
* src/system.h: Don't use #ifdef/#ifndef on HAVE_ values, only
#if.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2002-10-30 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
* src/system.h: Don't use #ifdef/#ifndef on HAVE_ values, only
|
||||||
|
#if.
|
||||||
|
|
||||||
2002-10-24 Paul Eggert <eggert@twinsun.com>
|
2002-10-24 Paul Eggert <eggert@twinsun.com>
|
||||||
|
|
||||||
Version 1.75a.
|
Version 1.75a.
|
||||||
|
|||||||
18
src/system.h
18
src/system.h
@@ -18,7 +18,7 @@
|
|||||||
#ifndef BISON_SYSTEM_H
|
#ifndef BISON_SYSTEM_H
|
||||||
#define BISON_SYSTEM_H
|
#define BISON_SYSTEM_H
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#if HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -103,27 +103,27 @@ extern int time_report;
|
|||||||
| Missing prototypes. |
|
| Missing prototypes. |
|
||||||
`---------------------*/
|
`---------------------*/
|
||||||
|
|
||||||
#if !HAVE_DECL_STPCPY
|
#if defined HAVE_DECL_STPCPY && !HAVE_DECL_STPCPY
|
||||||
char *stpcpy (char *dest, const char *src);
|
char *stpcpy (char *dest, const char *src);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !HAVE_DECL_STRCHR
|
#if defined HAVE_DECL_STRCHR && !HAVE_DECL_STRCHR
|
||||||
char *strchr (const char *s, int c);
|
char *strchr (const char *s, int c);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !HAVE_DECL_STRSPN
|
#if defined HAVE_DECL_STRSPN && !HAVE_DECL_STRSPN
|
||||||
size_t strspn (const char *s, const char *accept);
|
size_t strspn (const char *s, const char *accept);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !HAVE_DECL_STRNLEN
|
#if defined HAVE_DECL_STRNLEN && !HAVE_DECL_STRNLEN
|
||||||
size_t strnlen (const char *s, size_t maxlen);
|
size_t strnlen (const char *s, size_t maxlen);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !HAVE_DECL_MEMCHR
|
#if defined HAVE_DECL_MEMCHR && !HAVE_DECL_MEMCHR
|
||||||
void *memchr (const void *s, int c, size_t n);
|
void *memchr (const void *s, int c, size_t n);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !HAVE_DECL_MEMRCHR
|
#if defined HAVE_DECL_MEMRCHR && !HAVE_DECL_MEMRCHR
|
||||||
void *memrchr (const void *s, int c, size_t n);
|
void *memrchr (const void *s, int c, size_t n);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -160,10 +160,10 @@ void *memrchr (const void *s, int c, size_t n);
|
|||||||
| NLS. |
|
| NLS. |
|
||||||
`------*/
|
`------*/
|
||||||
|
|
||||||
#ifdef HAVE_LOCALE_H
|
#if HAVE_LOCALE_H
|
||||||
# include <locale.h>
|
# include <locale.h>
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_SETLOCALE
|
#if !HAVE_SETLOCALE
|
||||||
# define setlocale(Category, Locale)
|
# define setlocale(Category, Locale)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user