From: Dave Love Date: Mon, 18 Nov 2002 16:02:39 +0000 (+0000) Subject: Move OSF1 stuff from m/alpha.h to here. X-Git-Tag: ttn-vms-21-2-B4~12363 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1d899485532feeb4dbc44b6592caaa13abac94e5;p=emacs.git Move OSF1 stuff from m/alpha.h to here. --- diff --git a/src/s/osf1.h b/src/s/osf1.h index 38397e254e2..e05f429a743 100644 --- a/src/s/osf1.h +++ b/src/s/osf1.h @@ -44,3 +44,31 @@ #undef bcmp #endif #endif + +#define ORDINARY_LINK + +/* Some systems seem to have this, others don't. */ +#ifdef HAVE_LIBDNET +#define LIBS_MACHINE -ldnet +#else +#define LIBS_MACHINE -ldnet_stub +#endif + +#define LIBS_DEBUG +#define START_FILES pre-crt0.o + +#define PTY_ITERATION for (i = 0; i < 1; i++) /* ick */ +#define PTY_NAME_SPRINTF /* none */ +#define PTY_TTY_NAME_SPRINTF /* none */ +#define PTY_OPEN \ + do \ + { \ + int dummy; \ + SIGMASKTYPE mask; \ + mask = sigblock (sigmask (SIGCHLD)); \ + if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \ + fd = -1; \ + sigsetmask (mask); \ + emacs_close (dummy); \ + } \ + while (0)