undefine packed enum for now

This commit is contained in:
Nic Barker 2024-09-28 16:29:11 +12:00
parent 2def72dc62
commit 35c6210da6

4
clay.h
View File

@ -28,8 +28,8 @@
#define CLAY_WASM_EXPORT(null) #define CLAY_WASM_EXPORT(null)
#endif #endif
#ifdef _MSC_VER #ifdef MSC_VER
#define CLAY_PACKED_ENUM : unsigned char #define CLAY_PACKED_ENUM
#else #else
#define CLAY_PACKED_ENUM __attribute__((__packed__)) #define CLAY_PACKED_ENUM __attribute__((__packed__))
#endif #endif