chore(cpn): build for Windows with Visual Studio (#6476)

This commit is contained in:
Raphael Coeffic
2025-08-14 10:06:24 +10:00
committed by GitHub
parent 6d9819f5bf
commit 96610449ef
20 changed files with 169 additions and 181 deletions
+5
View File
@@ -174,6 +174,11 @@ void clearStruct(S &s)
memset((void *)&s, 0, sizeof(S));
}
#if defined(_WIN32) || defined(_WIN64)
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#endif
template <size_t N>
using offset_t = std::integral_constant<size_t, N>;