summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authortqfx <[email protected]>2024-05-12 22:29:09 +0800
committertqfx <[email protected]>2024-05-12 23:00:37 +0800
commit1c6726c12d46ed144d6764a5621c04c87f01305d (patch)
treef4338503c8eb3de34ceada66f9ea29155ea3fea0 /core/src
parentea06f3507c1e3ef5dec792b118d0f5bd8ce972ce (diff)
Fix build on msys2/mingw64
Diffstat (limited to 'core/src')
-rwxr-xr-xcore/src/xmake/xmake.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/xmake/xmake.sh b/core/src/xmake/xmake.sh
index 62af5b2fa..d6bd0c2c4 100755
--- a/core/src/xmake/xmake.sh
+++ b/core/src/xmake/xmake.sh
@@ -72,6 +72,7 @@ target "xmake"
add_files "string/*.c"
add_files "tty/*.c"
if is_plat "mingw"; then
+ add_defines "UNICODE" "_UNICODE"
add_files "winos/*.c"
fi