aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/s/osf1.h28
1 files changed, 28 insertions, 0 deletions
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 @@
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)