Have __PLUS4__ imply __C16__.
This commit is contained in:
parent
460cea425f
commit
3af758ced5
4 changed files with 6 additions and 4 deletions
|
@ -39,7 +39,7 @@
|
|||
|
||||
|
||||
/* Check for errors */
|
||||
#if !defined(__PLUS4__) && !defined(__C16__)
|
||||
#if !defined(__C16__)
|
||||
# error This module may only be used when compiling for the Plus/4 or C16!
|
||||
#endif
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ static char GetKeyUpdate (void);
|
|||
|
||||
|
||||
/* Color definitions */
|
||||
#if defined(__PLUS4__) || defined(__C16__)
|
||||
#if defined(__C16__)
|
||||
# define COLOR_BORDER (BCOLOR_DARKBLUE | CATTR_LUMA6)
|
||||
# define COLOR_BACKGROUND COLOR_WHITE
|
||||
# define COLOR_TEXTHIGH COLOR_BLACK
|
||||
|
|
|
@ -230,7 +230,8 @@ static void SetSys (const char* Sys)
|
|||
break;
|
||||
|
||||
case TGT_PLUS4:
|
||||
CBMSystem ("__PLUS4__");
|
||||
CBMSystem ("__C16__");
|
||||
NewSymbol ("__PLUS4__", 1);
|
||||
break;
|
||||
|
||||
case TGT_CBM510:
|
||||
|
|
|
@ -186,7 +186,8 @@ static void SetSys (const char* Sys)
|
|||
break;
|
||||
|
||||
case TGT_PLUS4:
|
||||
cbmsys ("__PLUS4__");
|
||||
cbmsys ("__C16__");
|
||||
DefineNumericMacro ("__PLUS4__", 1);
|
||||
break;
|
||||
|
||||
case TGT_CBM510:
|
||||
|
|
Loading…
Add table
Reference in a new issue