Set arch-pc98 env to true for pc98.

This commit is contained in:
Yoshihiro Takahashi 2003-06-08 03:11:16 +00:00
parent d196a10856
commit c2098cc1ad
2 changed files with 6 additions and 1 deletions

View File

@ -13,6 +13,9 @@ CFLAGS+= -mno-fp-regs
.if ${MACHINE_ARCH} == "i386"
CFLAGS+= -mpreferred-stack-boundary=2
.endif
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98
.endif
.if HAVE_PNP
CFLAGS+= -DHAVE_PNP
.endif

View File

@ -656,7 +656,9 @@ void ficlCompilePlatform(FICL_SYSTEM *pSys)
dictAppendWord(dp, "ccall", ficlCcall, FW_DEFAULT);
#endif
#if defined(__i386__)
#if defined(PC98)
ficlSetEnv(pSys, "arch-pc98", FICL_TRUE);
#elif defined(__i386__)
ficlSetEnv(pSys, "arch-i386", FICL_TRUE);
ficlSetEnv(pSys, "arch-alpha", FICL_FALSE);
ficlSetEnv(pSys, "arch-ia64", FICL_FALSE);