diff --git a/sdk/xtdk/xtcompat.h b/sdk/xtdk/xtcompat.h index 27544d5..7b353e2 100644 --- a/sdk/xtdk/xtcompat.h +++ b/sdk/xtdk/xtcompat.h @@ -12,8 +12,9 @@ #ifdef __cplusplus /* C++ definitions */ - #define XTCLINK extern "C" #define NULLPTR nullptr + #define VIRTUAL virtual + #define XTCLINK extern "C" /* C++ boolean type */ typedef bool BOOLEAN, *PBOOLEAN; @@ -24,8 +25,9 @@ typedef wchar_t wchar; #else /* C definitions */ - #define XTCLINK #define NULLPTR ((void *)0) + #define VIRTUAL + #define XTCLINK /* C boolean type */ typedef enum _BOOLEAN