Fixed building with older Windows SDK

main
Sam Lantinga 2023-12-05 11:00:18 -08:00
parent 7ca43995a1
commit f00ecf5f19
1 changed files with 8 additions and 0 deletions

View File

@ -95,6 +95,14 @@
#define TOUCHEVENTF_PEN 0x0040 #define TOUCHEVENTF_PEN 0x0040
#endif #endif
#ifndef MAPVK_VK_TO_VSC_EX
#define MAPVK_VK_TO_VSC_EX 4
#endif
#ifndef WC_ERR_INVALID_CHARS
#define WC_ERR_INVALID_CHARS 0x00000080
#endif
#ifndef IS_HIGH_SURROGATE #ifndef IS_HIGH_SURROGATE
#define IS_HIGH_SURROGATE(x) (((x) >= 0xd800) && ((x) <= 0xdbff)) #define IS_HIGH_SURROGATE(x) (((x) >= 0xd800) && ((x) <= 0xdbff))
#endif #endif