mirror of
https://github.com/nippur72/apple1-videocard-lib.git
synced 2024-06-12 09:29:34 +00:00
allow "byte" and "word" to be recognized in common C editors
This commit is contained in:
parent
b17a7010d0
commit
cbb6b18966
|
@ -5,3 +5,10 @@
|
||||||
#define LOBYTE(c) (<(c))
|
#define LOBYTE(c) (<(c))
|
||||||
|
|
||||||
#define NOP asm { nop }
|
#define NOP asm { nop }
|
||||||
|
|
||||||
|
#ifndef __KICKC__
|
||||||
|
// KickC defaults these, while other C compilers do not
|
||||||
|
// this makes syntax highlight work in common C editors
|
||||||
|
typedef unsigned char byte;
|
||||||
|
typedef unsigned int word;
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user