summaryrefslogtreecommitdiff
path: root/mm/include/align_asset_macro.h
blob: 0cadd09c5fcbf01605a030bfd27d16909f76c4a0 (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