1 // note: include after system headers
3 //#pragma GCC diagnostic ignored "-Wparentheses"
24 #define _UNKNOWN uint8_t
29 #define LOBYTE(x) (*((_BYTE*)&(x)))
30 #define LOWORD(x) (*((_WORD*)&(x)))
31 #define HIBYTE(x) (*((_BYTE*)&(x)+1))
32 #define HIWORD(x) (*((_WORD*)&(x)+1))
33 #define BYTE0(x) (*((_BYTE*)&(x)+0))
34 #define BYTE1(x) (*((_BYTE*)&(x)+1))
35 #define BYTE2(x) (*((_BYTE*)&(x)+2))
36 #define BYTE3(x) (*((_BYTE*)&(x)+3))
38 #define memcpy_0 memcpy
40 #define noreturn __attribute__((noreturn))
43 #define PCVOID LPCVOID
44 #define __VALIST __ms_va_list