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

@@ -110,7 +110,7 @@ extern DspInterface currentdsp;
typedef struct conspage ConsPage;
typedef ByteCode *InstPtr;
#if (DOS && OPDISP)
#if defined(DOS) && defined(OPDISP)
#include "inlndos.h"
InstPtr pccache asm("si");
LispPTR *cspcache asm("di");
@@ -211,7 +211,7 @@ void dispatch(void) {
}
#endif
#if (DOS && OPDISP)
#if defined(DOS) && defined(OPDISP)
#else
LispPTR *cspcache;
LispPTR tscache;