summaryrefslogtreecommitdiff
path: root/src/pty.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pty.c')
-rw-r--r--src/pty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pty.c b/src/pty.c
index 03c02af10..5f8b9e561 100644
--- a/src/pty.c
+++ b/src/pty.c
@@ -386,7 +386,7 @@ mch_openpty(char **ttyn)
static char PtyProto[] = "/dev/ptym/ptyXY";
static char TtyProto[] = "/dev/pty/ttyXY";
# else
-# if defined (__BEOS__) || defined(__HAIKU__)
+# ifdef(__HAIKU__)
static char PtyProto[] = "/dev/pt/XY";
static char TtyProto[] = "/dev/tt/XY";
# else