mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-22 06:08:03 +00:00
Compare commits
2 Commits
e306f48a8f
...
e8ff18c20c
Author | SHA1 | Date | |
---|---|---|---|
|
e8ff18c20c | ||
|
902ff3b0a9 |
2
clay.h
2
clay.h
@ -134,7 +134,7 @@ CLAY__ALIGNMENT_STRUCT(bool);
|
|||||||
CLAY__ALIGNMENT_STRUCT(uint8_t);
|
CLAY__ALIGNMENT_STRUCT(uint8_t);
|
||||||
CLAY__ALIGNMENT_STRUCT(int32_t);
|
CLAY__ALIGNMENT_STRUCT(int32_t);
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#if defined(_MSC_VER) && !defined(__clang__)
|
||||||
#define CLAY_PACKED_ENUM __pragma(pack(push, 1)) enum __pragma(pack(pop))
|
#define CLAY_PACKED_ENUM __pragma(pack(push, 1)) enum __pragma(pack(pop))
|
||||||
#else
|
#else
|
||||||
#define CLAY_PACKED_ENUM enum __attribute__((__packed__))
|
#define CLAY_PACKED_ENUM enum __attribute__((__packed__))
|
||||||
|
Loading…
Reference in New Issue
Block a user