--- np2/common.h 2004/03/26 06:47:11 1.9 +++ np2/common.h 2004/06/20 00:56:26 1.10 @@ -35,7 +35,7 @@ enum { // ---- Optimize Macros #ifndef REG8 -#define REG8 BYTE +#define REG8 UINT8 #endif #ifndef REG16 #define REG16 UINT16 @@ -57,6 +57,18 @@ enum { #define HIGH16(a) (((UINT32)(a)) >> 16) #endif + +#if !defined(OEMCHAR) +#define OEMCHAR char +#endif +#if !defined(OEMLITERAL) +#define OEMTEXT(string) (string) +#endif +#if !defined(OEMNULL) +#define OEMNULLSTR OEMTEXT("") +#endif + + #ifndef STRLITERAL #ifdef UNICODE #define STRLITERAL(string) _T(string)