Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Commit 66a6655

Browse files
authored
Merge pull request #30 from l3ger0j/fixed-autosave-path
Fixed autosave
2 parents b9ecc57 + b586365 commit 66a6655

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/src/main/jni/qsp-5.7/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ set(QSP_SOURCES
3333
src/bindings/android/android_control.c
3434
)
3535

36-
add_definitions( -D_ANDROID -D_UNICODE -DNOT_RUBY -DEXPORT -w )
36+
add_definitions( -fshort-wchar -D_ANDROID -D_UNICODE -DNOT_RUBY -DEXPORT -w )
3737

3838
add_library( ndkqsp SHARED ${QSP_SOURCES} )
3939

app/src/main/jni/qsp-5.7/src/bindings/android/android.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#define QSP_ANDROIDDEFINES
2323

2424
#ifdef _UNICODE
25-
typedef unsigned int QSP_CHAR;
25+
typedef unsigned short QSP_CHAR;
2626
#endif
2727

2828
char *qspW2C(QSP_CHAR *);

0 commit comments

Comments
 (0)