mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-21 05:43:42 -07:00
Simplify Asset Headers (#2474)
This commit is contained in:
parent
21466192e5
commit
d3f864cea9
1075 changed files with 60897 additions and 139767 deletions
10
soh/include/align_asset_macro.h
Normal file
10
soh/include/align_asset_macro.h
Normal file
|
@ -0,0 +1,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
|
Loading…
Add table
Add a link
Reference in a new issue