1 Commits
v1.1.0 ... main

Author SHA1 Message Date
a6b697dd0e Pad logger struct for MSVC
All checks were successful
Release / release (push) Successful in 3s
2026-05-17 17:46:50 +01:00
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/aliases/aliases.h"
#include "../common/assert/assert.h" #include "../common/assert/assert.h"
#include "../os/file/file.h" #include "../os/file/file.h"
#include "common/misc/misc_utils.h"
#define LOG_LEVEL_STR_LENGTH 8 #define LOG_LEVEL_STR_LENGTH 8
#define LOG_PREFIX_BUF_LENGTH 16 #define LOG_PREFIX_BUF_LENGTH 16
@@ -12,6 +13,8 @@ typedef struct {
WFile *outlog; WFile *outlog;
WFile *errlog; WFile *errlog;
LogLevel level; LogLevel level;
wapp_misc_utils_reserve_padding(2 * sizeof(WFile *) + sizeof(LogLevel));
} LogConfig; } LogConfig;
wapp_intern LogConfig LOG_CONFIG = { wapp_intern LogConfig LOG_CONFIG = {