1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-02 14:51:23 +00:00

Resolve warning: 'DOS' (and 'SUNDISPLAY') is not defined, evaluates to 0; use #ifdef/#if defined(...)

This commit is contained in:
Nick Briggs
2022-12-25 12:18:30 -08:00
parent 38761fbd93
commit 5c81ca3f41
3 changed files with 6 additions and 6 deletions

View File

@@ -225,7 +225,7 @@ void init_keyboard(int flg) /* if 0 init else re-init */
/* ----------------------------------------------------------------*/
void device_before_exit(void) {
#if DOS
#ifdef DOS
(currentmouse->device.exit)(currentmouse);
(currentkbd->device.exit)(currentkbd);
#endif /* SUNDISPLAY DOS*/