1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-05-02 06:36:04 +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

@@ -35,11 +35,9 @@
#include <sys/select.h>
#endif /* DOS */
#ifndef XWINDOW
#ifdef SUNDISPLAY
#include <sundev/kbd.h>
#include <sundev/kbio.h>
#endif /* SUNDISPLAY */
#include <errno.h>
#ifndef NOPIXRECT
#include <sunwindow/window_hs.h>
@@ -48,12 +46,9 @@
#include <sunwindow/win_cursor.h>
#include <sunwindow/cms.h>
#include <sys/mman.h>
#ifdef SUNDISPLAY
extern int Win_security_p;
#endif /* SUNDISPLAY */
#endif /* NOPIXRECT */
#endif /* XWINDOW */
#endif /* SUNDISPLAY */
#ifdef OS5
#include <stropts.h>