--- np2/x11/compiler.h 2011/01/15 14:37:09 1.40 +++ np2/x11/compiler.h 2011/12/21 17:34:06 1.43 @@ -1,5 +1,3 @@ -/* $Id: compiler.h,v 1.40 2011/01/15 14:37:09 monaka Exp $ */ - /*- * Copyright (c) 2003, 2004 NONAKA Kimihiro * All rights reserved. @@ -141,10 +139,6 @@ typedef gboolean BOOL; #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) #endif -#ifndef UNUSED -#define UNUSED(v) ((void)(v)) -#endif - #define FASTCALL #define SOUNDCALL #define MEMCALL @@ -201,8 +195,10 @@ UINT32 gettick(void); #if defined(CPUCORE_IA32) #define msgbox(title, msg) toolkit_messagebox(title, msg); +#if !defined(DISABLE_PC9821) #define SUPPORT_PC9821 #define SUPPORT_CRT31KHZ +#endif #define SUPPORT_IDEIO #else #define SUPPORT_CRT15KHZ