Pad logger struct for MSVC
All checks were successful
Release / release (push) Successful in 3s

This commit is contained in:
2026-05-17 17:46:32 +01:00
parent c67a448d00
commit a6b697dd0e
2 changed files with 4 additions and 1 deletions

View File

@@ -1 +1 @@
1.1.0
1.1.1

View File

@@ -4,6 +4,7 @@
#include "../common/aliases/aliases.h"
#include "../common/assert/assert.h"
#include "../os/file/file.h"
#include "common/misc/misc_utils.h"
#define LOG_LEVEL_STR_LENGTH 8
#define LOG_PREFIX_BUF_LENGTH 16
@@ -12,6 +13,8 @@ typedef struct {
WFile *outlog;
WFile *errlog;
LogLevel level;
wapp_misc_utils_reserve_padding(2 * sizeof(WFile *) + sizeof(LogLevel));
} LogConfig;
wapp_intern LogConfig LOG_CONFIG = {