]> git.eshelyaron.com Git - emacs.git/commitdiff
Move OSF1 stuff from here to s/osf1.h.
authorDave Love <fx@gnu.org>
Mon, 18 Nov 2002 16:04:23 +0000 (16:04 +0000)
committerDave Love <fx@gnu.org>
Mon, 18 Nov 2002 16:04:23 +0000 (16:04 +0000)
src/m/alpha.h

index da49abe755a64a0e907361bc656554bb0816a35b..5ce528622ccd7207d8763e1420ebf8354d00ada9 100644 (file)
@@ -123,64 +123,11 @@ NOTE-END
 
 #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 <schoepf@uni-mainz.de> 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 <alloca.h>
-#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