XXX include <stdint.h> on NetBSD 1.6 and greater.
XXX this file is generated, but this change is needed for GCC2 hosts to XXX to able to build this file without warnings.
This commit is contained in:
parent
51b0c7cbfa
commit
492975536e
8
gnu/dist/binutils/ld/ldlex.c
vendored
8
gnu/dist/binutils/ld/ldlex.c
vendored
@ -28,9 +28,15 @@
|
||||
#ifndef FLEXINT_H
|
||||
#define FLEXINT_H
|
||||
|
||||
/* XXX NetBSD 1.6 has <stdint.h>. */
|
||||
#ifdef __NetBSD__
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
|
||||
/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
|
||||
|
||||
#if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
|
||||
#if (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) \
|
||||
|| __NetBSD_Version__ > 106000000
|
||||
#include <inttypes.h>
|
||||
typedef int8_t flex_int8_t;
|
||||
typedef uint8_t flex_uint8_t;
|
||||
|
Loading…
Reference in New Issue
Block a user