[ox/std] Add OX_ALIGN4
This commit is contained in:
parent
22a07afa9e
commit
740e0286d0
6
deps/ox/src/ox/std/stddef.hpp
vendored
6
deps/ox/src/ox/std/stddef.hpp
vendored
@ -19,3 +19,9 @@
|
|||||||
#else
|
#else
|
||||||
#define OX_PACKED __attribute__((packed))
|
#define OX_PACKED __attribute__((packed))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#define OX_ALIGN4
|
||||||
|
#else
|
||||||
|
#define OX_ALIGN4 __attribute__((aligned(4)))
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user