mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-26 20:02:37 +00:00
Clean up missing include file when compiling for INIT (#359)
* Compiling for INIT requires an extra include file vs normal. * Compiling for INIT often includes tracing which also requires additional includes
This commit is contained in:
18
src/bbtsub.c
18
src/bbtsub.c
@@ -76,6 +76,16 @@ extern IOPAGE *IOPage68K;
|
||||
#include "display.h"
|
||||
#include "dbprint.h"
|
||||
|
||||
#ifdef INIT
|
||||
#include "initkbddefs.h"
|
||||
extern int kbd_for_makeinit;
|
||||
|
||||
#define init_kbd_startup \
|
||||
if (!kbd_for_makeinit) { \
|
||||
init_keyboard(0); \
|
||||
kbd_for_makeinit = 1; \
|
||||
};
|
||||
#endif
|
||||
|
||||
#if !defined(SUNDISPLAY)
|
||||
#include "devif.h"
|
||||
@@ -278,12 +288,6 @@ extern int ScreenLocked; /* for mouse tracking */
|
||||
(SRCTYPE == INVERT_atom ? (OPERATION == ERASE_atom ? 0 : 1) /* SRCTYPE == INPUT, TEXTURE */ \
|
||||
: (OPERATION == ERASE_atom ? 1 : 0))
|
||||
|
||||
#define init_kbd_startup \
|
||||
if (!kbd_for_makeinit) { \
|
||||
init_keyboard(0); \
|
||||
kbd_for_makeinit = 1; \
|
||||
};
|
||||
|
||||
extern struct pixrect *SrcePixRect, *DestPixRect, *TexturePixRect;
|
||||
extern struct pixrect *BlackTexturePixRect, *WhiteTexturePixRect;
|
||||
extern DLword TEXTURE_atom;
|
||||
@@ -294,8 +298,6 @@ extern DLword ERASE_atom;
|
||||
extern DLword PAINT_atom;
|
||||
extern DLword REPLACE_atom;
|
||||
|
||||
extern int kbd_for_makeinit; /*** FOR INIT ***/
|
||||
|
||||
/************************************************************************/
|
||||
/* */
|
||||
/* b i t b l t s u b */
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "lispemul.h"
|
||||
#include "lspglob.h"
|
||||
#include "emlglob.h"
|
||||
|
||||
#include "testtooldefs.h"
|
||||
#include "bindsdefs.h"
|
||||
|
||||
/**************************************************
|
||||
|
||||
@@ -41,6 +41,11 @@
|
||||
#include "bitbltdefs.h"
|
||||
#include "initdspdefs.h"
|
||||
|
||||
#if defined(INIT)
|
||||
#include "initkbddefs.h"
|
||||
extern int kbd_for_makeinit;
|
||||
#endif
|
||||
|
||||
#ifdef DOS
|
||||
#include "devif.h"
|
||||
#include "iopage.h"
|
||||
@@ -50,7 +55,6 @@ extern IOPAGE *IOPage68K;
|
||||
|
||||
extern int LispWindowFd;
|
||||
extern int ScreenLocked;
|
||||
extern int kbd_for_makeinit;
|
||||
|
||||
#ifdef COLOR
|
||||
extern int MonoOrColor;
|
||||
|
||||
@@ -10,13 +10,14 @@
|
||||
|
||||
#include "version.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include "lispemul.h"
|
||||
#include "lispmap.h"
|
||||
#include "emlglob.h"
|
||||
#include "stack.h"
|
||||
#include "lspglob.h"
|
||||
#include "adr68k.h"
|
||||
|
||||
#include "testtooldefs.h"
|
||||
#include "findkeydefs.h"
|
||||
|
||||
/***********************************************************************/
|
||||
|
||||
2
src/gc.c
2
src/gc.c
@@ -15,7 +15,7 @@
|
||||
#include "lsptypes.h"
|
||||
#include "emlglob.h"
|
||||
#include "gcdata.h"
|
||||
|
||||
#include "testtooldefs.h"
|
||||
#include "gcdefs.h"
|
||||
#include "gchtfinddefs.h"
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
*/
|
||||
/**********************************************************************/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "lispemul.h"
|
||||
#include "lispmap.h"
|
||||
#include "lsptypes.h"
|
||||
@@ -29,7 +30,7 @@
|
||||
#include "emlglob.h"
|
||||
#include "address.h"
|
||||
#include "adr68k.h"
|
||||
|
||||
#include "testtooldefs.h"
|
||||
#include "gc2defs.h"
|
||||
#include "gcscandefs.h"
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "emlglob.h"
|
||||
#include "cell.h"
|
||||
#include "dbprint.h"
|
||||
|
||||
#include "commondefs.h"
|
||||
#include "gvar2defs.h"
|
||||
#include "gchtfinddefs.h"
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#include "initatms.h"
|
||||
#include "cell.h"
|
||||
#include "return.h"
|
||||
|
||||
#include "testtooldefs.h"
|
||||
#include "returndefs.h"
|
||||
#include "commondefs.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user