Common (strutil): fixes unit tests

This commit is contained in:
李通洲
2026-05-28 22:41:47 +08:00
parent 0ef677a98c
commit 8fbc29a70c
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -7,6 +7,12 @@
#include "common/wcwidth.h"
#ifdef _WIN32
// #include <shlwapi.h>
__stdcall char* StrStrIA(const char* lpFirst, const char* lpSrch);
#define strcasestr StrStrIA
#endif
static inline bool ffStrSet(const char* str) {
if (str == NULL) {
return false;