wrap utility_common.cpp in extern "C" (#1223)

This seems to solve a linking problem when using address sanitizer
This commit is contained in:
Dennis Brakhane
2025-09-25 09:55:22 +02:00
committed by GitHub
parent 04b50c0933
commit e1aea7826f
+5
View File
@@ -3,6 +3,9 @@
#define _CRT_SECURE_NO_WARNINGS
#endif // _CRT_SECURE_NO_WARNINGS
// prevent linking problems when using ASAN
extern "C" {
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
@@ -22,3 +25,5 @@
#include "mikktspace.c"
#include "zstd/zstd.c"
}