diff --git a/src/strings/dstr/dstr.h b/src/strings/dstr/dstr.h index 541c8c4..a8c9eff 100644 --- a/src/strings/dstr/dstr.h +++ b/src/strings/dstr/dstr.h @@ -3,6 +3,8 @@ #include "aliases.h" #include "mem_arena.h" +#include "misc_utils.h" +#include "platform.h" #include #ifdef __cplusplus @@ -13,8 +15,12 @@ typedef struct dstr String; typedef struct string_update StringUpdate; struct string_update { - bool updated; String *str; + bool updated; + +#ifdef WAPP_PLATFORM_WINDOWS + wapp_misc_utils_padding_size(sizeof(bool) + sizeof(String *)); +#endif // WAPP_PLATFORM_WINDOWS }; String *wapp_dstr_with_capacity(u64 capacity, Arena *arena);