diff options
author | Stu Grossman <grossman@cygnus> | 1992-11-04 23:34:54 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1992-11-04 23:34:54 +0000 |
commit | da60a50dc306c1281f0649847950ea9bc08bb073 (patch) | |
tree | 6774ea0b1ebc43dd4fdc20208013f47e7af0c0d7 /readline/sysdep-norm.h | |
parent | 740b7efa43f092a7732fabd39d5597a7a2f310b3 (diff) | |
download | gdb-da60a50dc306c1281f0649847950ea9bc08bb073.zip gdb-da60a50dc306c1281f0649847950ea9bc08bb073.tar.gz gdb-da60a50dc306c1281f0649847950ea9bc08bb073.tar.bz2 |
* readline.c: Cast many uses of alloca to (char *) to make brain-
damaged compilers happy.
* sysdep-norm.h: Remove some crud, install dire warning.
Diffstat (limited to 'readline/sysdep-norm.h')
-rw-r--r-- | readline/sysdep-norm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/readline/sysdep-norm.h b/readline/sysdep-norm.h index 9df4040..cb89f43 100644 --- a/readline/sysdep-norm.h +++ b/readline/sysdep-norm.h @@ -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 |