1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-15 12:16:34 +00:00

Fix !XWINDOW to be SUNDISPLAY ifdefery. (#234)

Some of the `ifndef XWINDOW` code should have been
`ifdef SUNDISPLAY` instead.
This commit is contained in:
Bruce Mitchener
2021-01-19 14:45:59 +07:00
committed by GitHub
parent db6b351397
commit 7a24b41fc4
4 changed files with 10 additions and 19 deletions

View File

@@ -38,8 +38,7 @@
void Mouse_hndlr(void); /* Fields mouse events from driver */
/* (during servicing of mouse interrupt) */
#elif XWINDOW
#else
#elif SUNDISPLAY
#include <sunwindow/window_hs.h>
#include <sunwindow/win_ioctl.h>
#include <suntool/window.h>
@@ -277,9 +276,9 @@ DLword ColorCursor_savebitmap[CURSORWIDTH / COLORPIXELS_IN_DLWORD * CURSORHEIGHT
void getsignaldata(int sig)
{
#ifndef DOS
#ifndef XWINDOW
#ifdef SUNDISPLAY
struct inputevent event;
#endif /* XWINDOW */
#endif /* SUNDISPLAY */
fd_set rfds, efds;
u_int iflags;
int i;
@@ -374,6 +373,7 @@ getmore:
#endif /* DOS */
} /* end getsignaldata */
#ifdef SUNDISPLAY
/************************************************************************/
/* */
/* k b _ e v e n t */
@@ -382,7 +382,6 @@ getmore:
/* occurred, 0 if one didn't occur. */
/* */
/************************************************************************/
#if (!defined(XWINDOW) && !defined(DOS))
extern int for_makeinit;
int kb_event(struct inputevent *event);
@@ -499,7 +498,7 @@ int kb_event(struct inputevent *event);
} /* if *EmRealUtilin68K end */
return (1);
}
#endif /* neither XWINDOW nor DOS*/
#endif /* SUNDISPLAY */
/************************************************************************/
/* */