diff options
| author | Dave Love | 2002-11-18 16:04:23 +0000 |
|---|---|---|
| committer | Dave Love | 2002-11-18 16:04:23 +0000 |
| commit | 87d8f6c5f82c045b8f8e3f200546fab123e89ec6 (patch) | |
| tree | e56bf5ab1a5e98292f3ad57bacf354e1c5e34a3e /src | |
| parent | 1d899485532feeb4dbc44b6592caaa13abac94e5 (diff) | |
| download | emacs-87d8f6c5f82c045b8f8e3f200546fab123e89ec6.tar.gz emacs-87d8f6c5f82c045b8f8e3f200546fab123e89ec6.zip | |
Move OSF1 stuff from here to s/osf1.h.
Diffstat (limited to 'src')
| -rw-r--r-- | src/m/alpha.h | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h index da49abe755a..5ce528622cc 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -123,64 +123,11 @@ NOTE-END | |||
| 123 | 123 | ||
| 124 | #endif /* notdef __ELF__ */ | 124 | #endif /* notdef __ELF__ */ |
| 125 | 125 | ||
| 126 | #ifdef OSF1 | ||
| 127 | #define ORDINARY_LINK | ||
| 128 | |||
| 129 | /* Some systems seem to have this, others don't. */ | ||
| 130 | #ifdef HAVE_LIBDNET | ||
| 131 | #define LIBS_MACHINE -ldnet | ||
| 132 | #else | ||
| 133 | #define LIBS_MACHINE -ldnet_stub | ||
| 134 | #endif | ||
| 135 | #endif /* OSF1 */ | ||
| 136 | |||
| 137 | #if 0 /* Rainer Schoepf <schoepf@uni-mainz.de> says this loses with X11R6 | ||
| 138 | since it has only shared libraries. */ | ||
| 139 | #ifndef __GNUC__ | ||
| 140 | /* This apparently is for the system ld as opposed to Gnu ld. */ | ||
| 141 | #ifdef OSF1 | ||
| 142 | #define LD_SWITCH_MACHINE -non_shared | ||
| 143 | #endif | ||
| 144 | #endif | ||
| 145 | #endif /* 0 */ | ||
| 146 | |||
| 147 | #ifdef OSF1 | ||
| 148 | #define LIBS_DEBUG | ||
| 149 | #define START_FILES pre-crt0.o | ||
| 150 | #endif | ||
| 151 | |||
| 152 | #if defined (LINUX) && __GNU_LIBRARY__ - 0 < 6 | 126 | #if defined (LINUX) && __GNU_LIBRARY__ - 0 < 6 |
| 153 | /* This controls a conditional in main. */ | 127 | /* This controls a conditional in main. */ |
| 154 | #define LINUX_SBRK_BUG | 128 | #define LINUX_SBRK_BUG |
| 155 | #endif | 129 | #endif |
| 156 | 130 | ||
| 157 | |||
| 158 | #ifndef NOT_C_CODE | ||
| 159 | /* We need these because pointers are larger than the default ints. */ | ||
| 160 | #if !defined(__NetBSD__) && !defined(__OpenBSD__) | ||
| 161 | #include <alloca.h> | ||
| 162 | #endif | ||
| 163 | |||
| 164 | #endif /* not NOT_C_CODE */ | ||
| 165 | |||
| 166 | #ifdef OSF1 | ||
| 167 | #define PTY_ITERATION for (i = 0; i < 1; i++) /* ick */ | ||
| 168 | #define PTY_NAME_SPRINTF /* none */ | ||
| 169 | #define PTY_TTY_NAME_SPRINTF /* none */ | ||
| 170 | #define PTY_OPEN \ | ||
| 171 | do \ | ||
| 172 | { \ | ||
| 173 | int dummy; \ | ||
| 174 | SIGMASKTYPE mask; \ | ||
| 175 | mask = sigblock (sigmask (SIGCHLD)); \ | ||
| 176 | if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \ | ||
| 177 | fd = -1; \ | ||
| 178 | sigsetmask (mask); \ | ||
| 179 | emacs_close (dummy); \ | ||
| 180 | } \ | ||
| 181 | while (0) | ||
| 182 | #endif | ||
| 183 | |||
| 184 | /* On the Alpha it's best to avoid including TERMIO since struct | 131 | /* On the Alpha it's best to avoid including TERMIO since struct |
| 185 | termio and struct termios are mutually incompatible. */ | 132 | termio and struct termios are mutually incompatible. */ |
| 186 | #define NO_TERMIO | 133 | #define NO_TERMIO |