diff --git a/src/ox/std/stddef.hpp b/src/ox/std/stddef.hpp index d9c430350..63eb53d3b 100644 --- a/src/ox/std/stddef.hpp +++ b/src/ox/std/stddef.hpp @@ -19,3 +19,9 @@ #else #define OX_PACKED __attribute__((packed)) #endif + +#ifdef _MSC_VER +#define OX_ALIGN4 +#else +#define OX_ALIGN4 __attribute__((aligned(4))) +#endif