mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
88dd1b976c
* display.c: Add include of "sysdep.h" to get HAVE_VARARGS_H. * configure.in: Change pattern i[345]86-*-linux* into *-*-linux* to support non-x86 based Linux platforms.
25 lines
566 B
C
25 lines
566 B
C
/* System-dependent stuff, for Linux systems. Known to be good for
|
|
Linux/Alpha, but should work for all other platforms, too. */
|
|
|
|
/*
|
|
* This is important on Linux/Alpha where sizeof(void*) != sizeof(int).
|
|
*/
|
|
#define HAVE_VARARGS_H
|
|
|
|
#ifdef __GNUC__
|
|
#define alloca __builtin_alloca
|
|
#else
|
|
#if defined (sparc) && defined (sun)
|
|
#include <alloca.h>
|
|
#endif
|
|
#ifndef alloca /* May be a macro, with args. */
|
|
extern char *alloca ();
|
|
#endif
|
|
#endif
|
|
|
|
#include <sys/types.h> /* Needed by dirent.h */
|
|
#include <string.h>
|
|
|
|
#include <dirent.h>
|
|
typedef struct dirent dirent;
|