* coff-mips.c (mips_relocate_section): Don't convert a reloc
[deliverable/binutils-gdb.git] / readline / sysdep-norm.h
index 098665937c4310fb49468a463361deddcdeedc8c..cb89f437797bfc43d8de4f2cabc70c78a0385123 100644 (file)
@@ -1,4 +1,10 @@
 /* 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
@@ -6,8 +12,10 @@
 #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 */
 
@@ -20,3 +28,9 @@ extern char *alloca ();
 
 #include <dirent.h>
 typedef struct dirent dirent;
+
+/* SVR4 systems should use <termios.h> rather than <termio.h>. */
+
+#if defined (USGr4)
+#define _POSIX_VERSION
+#endif
This page took 0.023193 seconds and 4 git commands to generate.