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:
4
src/xc.c
4
src/xc.c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user