mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 10:52:19 -05:00
11 lines
202 B
C
11 lines
202 B
C
|
#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
|