--- np2/macosx/scrnmng.cpp 2003/10/16 17:59:38 1.1 +++ np2/macosx/scrnmng.cpp 2003/10/17 03:52:24 1.2 @@ -12,15 +12,18 @@ typedef struct { } _QDRAW, *QDRAW; -static _QDRAW qdraw; -static GDHandle hgd; -static GWorldPtr gwp; -static SCRNSURF scrnsurf; - #ifdef NP2GCC #define macosx_only #endif +static _QDRAW qdraw; +static SCRNSURF scrnsurf; +#if !defined(macosx_only) +static GWorldPtr gwp; +static GDHandle hgd; +#endif + + void scrnmng_initialize(void) { } @@ -89,8 +92,6 @@ void scrnmng_setheight(int posy, int hei const SCRNSURF *scrnmng_surflock(void) { QDRAW qd; - GDHandle hgd; - GWorldPtr gwp; #if 0 && defined(macosx_only) //色深度が32ビットじゃないときはさようなら(tk800)