c core: fix extra utf8 build conflict on windows

This commit is contained in:
jgmdev
2022-05-11 00:22:01 -04:00
parent 2c968073e4
commit 359880e963
4 changed files with 30 additions and 24 deletions
+1 -1
View File
@@ -1264,7 +1264,7 @@ static const char UTF8PATT[] = "[\0-\x7F\xC2-\xF4][\x80-\xBF]*";
static const char UTF8PATT[] = "[%z\1-\x7F\xC2-\xF4][\x80-\xBF]*";
#endif
int luaopen_utf8 (lua_State *L) {
int luaopen_utf8extra (lua_State *L) {
luaL_Reg libs[] = {
#define ENTRY(name) { #name, Lutf8_##name }
ENTRY(offset),