Fix typo in orevious delta
[deliverable/binutils-gdb.git] / readline / sysdep-hpux11.h
CommitLineData
ce238787
JL
1/* System-dependent stuff, for hpux11 systems */
2/* If you think you need to change this file, then you are wrong. In order to
3 avoid a huge ugly mass of nested #ifdefs, you should create a new file just
4 for your system, which contains exactly those #includes and definitions that
5 your system needs, AND NOTHING MORE! Then, add that file to the appropriate
6 place in configure.in, and viola, you are done. sysdep-sunos4.h is a good
7 example of how to do this. */
8
9#ifdef __GNUC__
10#define alloca __builtin_alloca
11#else
12#include <alloca.h>
13#ifndef alloca /* May be a macro, with args. */
14extern char *alloca ();
15#endif
16#endif
17
18#include <sys/types.h> /* Needed by dirent.h */
19
20#if defined (USG) && defined (TIOCGWINSZ)
21#include <sys/stream.h>
22#if defined (USGr4) || defined (USGr3)
23#include <sys/ptem.h>
24#endif /* USGr4 */
25#endif /* USG && TIOCGWINSZ */
26
27#ifndef _WIN32
28#include <dirent.h>
29typedef struct dirent dirent;
30#endif
31
32/* SVR4 systems should use <termios.h> rather than <termio.h>. */
33
34#if defined (USGr4)
35#define _POSIX_VERSION
36#endif
37
38#if defined _WIN32 && !defined __GNUC__
39#include <malloc.h>
40#endif
This page took 0.031383 seconds and 4 git commands to generate.