From 9a883b6766039614f5b034ef16b07f392ba0bc1b Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 2 May 2003 14:43:30 +0000 Subject: [PATCH] Add __NES__ #define git-svn-id: svn://svn.cc65.org/cc65/trunk@2125 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 */