From: cuz Date: Fri, 2 May 2003 14:43:30 +0000 (+0000) Subject: Add __NES__ #define X-Git-Tag: V2.12.0~1589 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9a883b6766039614f5b034ef16b07f392ba0bc1b;p=cc65 Add __NES__ #define git-svn-id: svn://svn.cc65.org/cc65/trunk@2125 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/main.c b/src/cc65/main.c index a79bc9883..9fda4f169 100644 --- a/src/cc65/main.c +++ b/src/cc65/main.c @@ -210,8 +210,12 @@ static void SetSys (const char* Sys) DefineNumericMacro ("__ATMOS__", 1); break; + case TGT_NES: + DefineNumericMacro ("__NES__", 1); + break; + default: - AbEnd ("Unknown target system type"); + AbEnd ("Unknown target system type %d", Target); } /* Initialize the translation tables for the target system */