From: Oliver Schmidt Date: Mon, 17 Jun 2013 19:41:25 +0000 (+0200) Subject: Avoid macro redefinition of CH_DEL for apple2enh. X-Git-Tag: V2.15~264 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e22e32c63eb2802caeaf1be3ae590a877e6b74f5;p=cc65 Avoid macro redefinition of CH_DEL for apple2enh. I'm wondering why MS VC++ didn't complain about this... --- diff --git a/libsrc/dbg/dbg.c b/libsrc/dbg/dbg.c index 34c686e09..ccc905122 100644 --- a/libsrc/dbg/dbg.c +++ b/libsrc/dbg/dbg.c @@ -104,7 +104,7 @@ static char GetKeyUpdate (void); #endif /* Replacement key definitions */ -#if defined(__APPLE2__) || defined(__LYNX__) || defined(__SIM6502__) || defined (__SIM65C02__) || defined(__SUPERVISION__) +#if (defined(__APPLE2__) && !defined(__APPLE2ENH__)) || defined(__LYNX__) || defined(__SIM6502__) || defined (__SIM65C02__) || defined(__SUPERVISION__) # define CH_DEL ('H' - 'A' + 1) /* Ctrl+H */ #endif