Stub in load and store insns. Fix order of jarl operands
[deliverable/binutils-gdb.git] / readline / sysdep-norm.h
index 9df4040760c77e80e5d3106bde800dabb06d87de..6cf1f347add5fc3b588a102701ff67dcca43a806 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
@@ -20,11 +26,17 @@ extern char *alloca ();
 #endif /* USGr4 */
 #endif /* USG && TIOCGWINSZ */
 
+#ifndef _WIN32
 #include <dirent.h>
 typedef struct dirent dirent;
+#endif
 
 /* SVR4 systems should use <termios.h> rather than <termio.h>. */
 
 #if defined (USGr4)
 #define _POSIX_VERSION
 #endif
+
+#if defined _WIN32 && !defined __GNUC__
+#include <malloc.h>
+#endif
This page took 0.029223 seconds and 4 git commands to generate.