Fix MSVC errors

This commit is contained in:
2025-12-15 21:48:30 +00:00
parent 05b7cfbbea
commit e16abc2459
3 changed files with 4 additions and 6 deletions

View File

@@ -9,9 +9,7 @@
#ifdef WAPP_PLATFORM_CPP
BEGIN_C_LINKAGE
#endif // !WAPP_PLATFORM_CPP
#ifdef WAPP_PLATFORM_CPP
#define wapp_tester_result(PASSED) (TestFuncResult{wapp_str8_lit_ro(__func__), PASSED})
#else
#define wapp_tester_result(PASSED) ((TestFuncResult){.name = wapp_str8_lit_ro(__func__), .passed = PASSED})
@@ -21,7 +19,7 @@ BEGIN_C_LINKAGE
typedef struct test_func_result TestFuncResult;
struct test_func_result {
Str8RO name;
Str8 name;
b8 passed;
#ifdef WAPP_PLATFORM_WINDOWS