summaryrefslogtreecommitdiff
path: root/soh/include/align_asset_macro.h
blob: 8ab8ef7d5e68c0e805bb763039e29e65886dbbb0 (plain)
1
2
3
4
5
6
7
8
9
10
#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