comparison src/s/osf1.h @ 48427:24cfc6cd2142

Move OSF1 stuff from m/alpha.h to here.
author Dave Love <fx@gnu.org>
date Mon, 18 Nov 2002 16:02:39 +0000
parents 45af78901143
children 695cf19ef79e
comparison
equal deleted inserted replaced
48426:aef97cec2d4f 48427:24cfc6cd2142
42 #undef bcopy 42 #undef bcopy
43 #undef bzero 43 #undef bzero
44 #undef bcmp 44 #undef bcmp
45 #endif 45 #endif
46 #endif 46 #endif
47
48 #define ORDINARY_LINK
49
50 /* Some systems seem to have this, others don't. */
51 #ifdef HAVE_LIBDNET
52 #define LIBS_MACHINE -ldnet
53 #else
54 #define LIBS_MACHINE -ldnet_stub
55 #endif
56
57 #define LIBS_DEBUG
58 #define START_FILES pre-crt0.o
59
60 #define PTY_ITERATION for (i = 0; i < 1; i++) /* ick */
61 #define PTY_NAME_SPRINTF /* none */
62 #define PTY_TTY_NAME_SPRINTF /* none */
63 #define PTY_OPEN \
64 do \
65 { \
66 int dummy; \
67 SIGMASKTYPE mask; \
68 mask = sigblock (sigmask (SIGCHLD)); \
69 if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \
70 fd = -1; \
71 sigsetmask (mask); \
72 emacs_close (dummy); \
73 } \
74 while (0)