mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 08:13:02 +00:00
entered into RCS
This commit is contained in:
@@ -235,6 +235,7 @@ and exit.
|
|||||||
.B \-h
|
.B \-h
|
||||||
.br
|
.br
|
||||||
.ns
|
.ns
|
||||||
|
.TP
|
||||||
.B \-\-help
|
.B \-\-help
|
||||||
Print a summary of the options to
|
Print a summary of the options to
|
||||||
.I bison
|
.I bison
|
||||||
|
|||||||
25
src/system.h
Normal file
25
src/system.h
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
#ifdef MSDOS
|
||||||
|
#include <io.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(HAVE_STDLIB_H) || defined(MSDOS)
|
||||||
|
#include <stdlib.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if (defined(VMS) || defined(MSDOS)) && !defined(HAVE_STRING_H)
|
||||||
|
#define HAVE_STRING_H 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(STDC_HEADERS) || defined(HAVE_STRING_H)
|
||||||
|
#include <string.h>
|
||||||
|
/* An ANSI string.h and pre-ANSI memory.h might conflict. */
|
||||||
|
#if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H)
|
||||||
|
#include <memory.h>
|
||||||
|
#endif /* not STDC_HEADERS and HAVE_MEMORY_H */
|
||||||
|
#ifndef bcopy
|
||||||
|
#define bcopy(src, dst, num) memcpy((dst), (src), (num))
|
||||||
|
#endif
|
||||||
|
#else /* not STDC_HEADERS and not HAVE_STRING_H */
|
||||||
|
#include <strings.h>
|
||||||
|
/* memory.h and strings.h conflict on some systems. */
|
||||||
|
#endif /* not STDC_HEADERS and not HAVE_STRING_H */
|
||||||
Reference in New Issue
Block a user