# HG changeset patch # User Dave Love # Date 1037635463 0 # Node ID e9c516ca4473b40c5c081dbd99f760eaafbf9a84 # Parent 24cfc6cd21425f4517f9b746226235afe6b14aff Move OSF1 stuff from here to s/osf1.h. diff -r 24cfc6cd2142 -r e9c516ca4473 src/m/alpha.h --- a/src/m/alpha.h Mon Nov 18 16:02:39 2002 +0000 +++ b/src/m/alpha.h Mon Nov 18 16:04:23 2002 +0000 @@ -123,64 +123,11 @@ #endif /* notdef __ELF__ */ -#ifdef OSF1 -#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 -#endif /* OSF1 */ - -#if 0 /* Rainer Schoepf says this loses with X11R6 - since it has only shared libraries. */ -#ifndef __GNUC__ -/* This apparently is for the system ld as opposed to Gnu ld. */ -#ifdef OSF1 -#define LD_SWITCH_MACHINE -non_shared -#endif -#endif -#endif /* 0 */ - -#ifdef OSF1 -#define LIBS_DEBUG -#define START_FILES pre-crt0.o -#endif - #if defined (LINUX) && __GNU_LIBRARY__ - 0 < 6 /* This controls a conditional in main. */ #define LINUX_SBRK_BUG #endif - -#ifndef NOT_C_CODE -/* We need these because pointers are larger than the default ints. */ -#if !defined(__NetBSD__) && !defined(__OpenBSD__) -#include -#endif - -#endif /* not NOT_C_CODE */ - -#ifdef OSF1 -#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) -#endif - /* On the Alpha it's best to avoid including TERMIO since struct termio and struct termios are mutually incompatible. */ #define NO_TERMIO