summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-05-13 10:01:09 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-05-13 10:01:09 +0000
commitccc13869790d312f614128204c5546d5e9ad0b3f (patch)
tree4a834e153187f75cc2a336f742aea845f55557e6 /ext
parentc6ac6cb4542b845eb4c18a9e80e15f8deab4f54a (diff)
990513
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/Setup1
-rw-r--r--ext/pty/pty.c11
-rw-r--r--ext/socket/addrinfo.h2
3 files changed, 9 insertions, 5 deletions
diff --git a/ext/Setup b/ext/Setup
index 830a5095ca..957e9105e3 100644
--- a/ext/Setup
+++ b/ext/Setup
@@ -1,5 +1,6 @@
#option nodynamic
+interbase
#GD
#curses
#dbm
diff --git a/ext/pty/pty.c b/ext/pty/pty.c
index 0995220995..3748b55e47 100644
--- a/ext/pty/pty.c
+++ b/ext/pty/pty.c
@@ -22,7 +22,7 @@
#define DEVICELEN 16
#if !defined(HAVE_OPENPTY)
-#ifdef hpux
+#ifdef __hpux
char *MasterDevice = "/dev/ptym/pty%s",
*SlaveDevice = "/dev/pty/tty%s",
*deviceNo[] = {
@@ -108,9 +108,10 @@ struct pty_info {
};
static void
-set_signal_action(RETSIGTYPE (*action)())
+set_signal_action(action)
+ RETSIGTYPE (*action)();
{
-#ifdef hpux
+#ifdef __hpux
struct sigvec sv;
/*
* signal SIGCHLD should be delivered on stop of the child
@@ -194,7 +195,9 @@ chld_changed()
static void getDevice _((int*, int*));
static void
-establishShell(char *shellname, struct pty_info *info)
+establishShell(shellname, info)
+ char *shellname;
+ struct pty_info *info;
{
static int i,j,master,slave,currentPid;
static char procName[32];
diff --git a/ext/socket/addrinfo.h b/ext/socket/addrinfo.h
index 5d2c7dea45..d4e2091d69 100644
--- a/ext/socket/addrinfo.h
+++ b/ext/socket/addrinfo.h
@@ -69,7 +69,7 @@
# ifdef HAVE_PROTOTYPES
# define __P(args) args
# else
-# define __P(args)
+# define __P(args) ()
# endif
#endif