Skip to content

Commit 4e7cf4d

Browse files
committed
Removed the use of codecvt from C++ for it being removed in C++26.
1 parent 3a830bd commit 4e7cf4d

10 files changed

Lines changed: 1318 additions & 17 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ message(STATUS "Lua library: ${LUA_LIBRARIES}")
5252

5353
enable_language(C CXX)
5454
include_directories(src src/3rdParty ${LUA_INCLUDE_DIR})
55-
add_definitions(-std=c++17 -O3 -fPIC)
55+
add_definitions(-std=c++17 -O3 -fPIC -DYUE_UTF8_IMPL)
5656

5757
# Detect Android Termux environment
5858
# Termux typically has ANDROID_ROOT environment variable set and PREFIX points to Termux directory

makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SRC_PATH = ./src
1111
# Space-separated pkg-config libraries used by this project
1212
LIBS =
1313
# General compiler flags
14-
COMPILE_FLAGS = -std=c++17 -Wall -Wextra -Wno-deprecated-declarations
14+
COMPILE_FLAGS = -std=c++17 -Wall -Wextra -Wno-deprecated-declarations -DYUE_UTF8_IMPL
1515
# Additional release-specific flags
1616
RCOMPILE_FLAGS = -D NDEBUG -O3
1717
# Additional debug-specific flags

0 commit comments

Comments
 (0)