Simplify Asset Headers (#2474)

This commit is contained in:
Amaro Martínez 2023-03-02 09:37:47 -05:00 committed by GitHub
commit d3f864cea9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1075 changed files with 60897 additions and 139767 deletions

View 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