mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-26 05:20:30 +00:00
d6400b148d
* configure.in (*-*-sysv4*): Use sysdep-sysv4.h. * configure.in (*-*-ultrix2): Add triplet from Michael Rendell (michael@mercury.cs.mun.ca)
27 lines
675 B
C
27 lines
675 B
C
/* System-dependent stuff, for SVR4 systems */
|
|
|
|
#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 <sys/stream.h>
|
|
#include <sys/ptem.h>
|
|
#include <dirent.h>
|
|
typedef struct dirent dirent;
|
|
|
|
/* SVR4 systems should use <termios.h> rather than <termio.h>. */
|
|
#define _POSIX_VERSION
|
|
|
|
/* SVR4 systems need _POSIX_SOURCE defined to suppress 'struct winsize'
|
|
definition in <termios.h>, since it's unconditionally defined in
|
|
<sys/ptem.h>. */
|
|
#define _POSIX_SOURCE
|