From e22e32c63eb2802caeaf1be3ae590a877e6b74f5 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Mon, 17 Jun 2013 21:41:25 +0200
Subject: [PATCH] Avoid macro redefinition of CH_DEL for apple2enh.
I'm wondering why MS VC++ didn't complain about this...
---
libsrc/dbg/dbg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.39.5