summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libreadline/sysdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib/libreadline/sysdep.h')
-rw-r--r--gnu/lib/libreadline/sysdep.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/gnu/lib/libreadline/sysdep.h b/gnu/lib/libreadline/sysdep.h
deleted file mode 100644
index 007a561..0000000
--- a/gnu/lib/libreadline/sysdep.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/* System-dependent stuff, for ``normal'' systems */
-/* If you think you need to change this file, then you are wrong. In order to
- avoid a huge ugly mass of nested #ifdefs, you should create a new file just
- for your system, which contains exactly those #includes and definitions that
- your system needs, AND NOTHING MORE! Then, add that file to the appropriate
- place in configure.in, and viola, you are done. sysdep-sunos4.h is a good
- example of how to do this. */
-
-#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/ioctl.h> /* Needed for TIOC?WINSZ */
-
-#if defined (USG) && defined (TIOCGWINSZ)
-#include <sys/stream.h>
-#if defined (USGr4) || defined (USGr3)
-#include <sys/ptem.h>
-#endif /* USGr4 */
-#endif /* USG && TIOCGWINSZ */
-
-#include <dirent.h>
-typedef struct dirent dirent;
-
-/* SVR4 systems should use <termios.h> rather than <termio.h>. */
-
-#if defined (USGr4)
-#define _POSIX_VERSION
-#endif
OpenPOWER on IntegriCloud