* sysdep-linux.h: New file.
authorFred Fish <fnf@specifix.com>
Sun, 26 May 1996 22:15:47 +0000 (22:15 +0000)
committerFred Fish <fnf@specifix.com>
Sun, 26 May 1996 22:15:47 +0000 (22:15 +0000)
* display.c: Add include of "sysdep.h" to get HAVE_VARARGS_H.
* configure.in: Change pattern i[345]86-*-linux* into *-*-linux* to
support non-x86 based Linux platforms.

readline/.Sanitize
readline/ChangeLog
readline/sysdep-linux.h [new file with mode: 0644]

index 675b821a40b27b6158105595458fe5a4a857e0a4..cfdbe54174a186e52701c4251d96255e2cab05af 100644 (file)
@@ -52,6 +52,7 @@ signals.c
 sysdep-aix.h
 sysdep-cxux7.h
 sysdep-irix.h
+sysdep-linux.h
 sysdep-norm.h
 sysdep-obsd.h
 sysdep-sco.h
index 1c8b778e6aed5b35409b375a2b39f714c69fc454..fd53e94c79431516ed026b28d4af4b268177ff24 100644 (file)
@@ -1,3 +1,12 @@
+Sun May 26 15:14:42 1996  Fred Fish  <fnf@cygnus.com>
+
+       From: David Mosberger-Tang  <davidm@azstarnet.com>
+
+       * sysdep-linux.h: New file.
+       * display.c: Add include of "sysdep.h" to get HAVE_VARARGS_H.
+       * configure.in: Change pattern i[345]86-*-linux* into *-*-linux* to
+       support non-x86 based Linux platforms.
+
 Sun Apr  7 22:06:11 1996  Fred Fish  <fnf@cygnus.com>
 
        From: Miles Bader  <miles@gnu.ai.mit.edu>
diff --git a/readline/sysdep-linux.h b/readline/sysdep-linux.h
new file mode 100644 (file)
index 0000000..46ea5d4
--- /dev/null
@@ -0,0 +1,24 @@
+/* System-dependent stuff, for Linux systems.  Known to be good for
+   Linux/Alpha, but should work for all other platforms, too. */
+
+/*
+ * This is important on Linux/Alpha where sizeof(void*) != sizeof(int).
+ */
+#define HAVE_VARARGS_H
+
+#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 <string.h>
+
+#include <dirent.h>
+typedef struct dirent dirent;
This page took 0.032955 seconds and 4 git commands to generate.