Shipwright/soh/include/align_asset_macro.h

11 lines
202 B
C
Raw Permalink Normal View History

2023-03-02 09:37:47 -05:00
#ifndef ALIGN_ASSET_MACRO_H
#define ALIGN_ASSET_MACRO_H
#if defined(_WIN32)
#define ALIGN_ASSET(x) __declspec(align(x))
#else
#define ALIGN_ASSET(x) __attribute__((aligned (x)))
#endif
#endif