allow "byte" and "word" to be recognized in common C editors

This commit is contained in:
nino-porcino 2021-12-17 16:47:58 +01:00
parent b17a7010d0
commit cbb6b18966
1 changed files with 7 additions and 0 deletions

View File

@ -5,3 +5,10 @@
#define LOBYTE(c) (<(c))
#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