This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #if (defined(__RADWII__) || defined(__RADWIIU__) || defined(__RADPSP__) || defined(__RADPSP2__) || \ | |
| defined(__RADPS3__) || defined(__RADSPU__) || defined(__RADPS4__) || \ | |
| - defined(__RADLINUX__) || defined(__RADMAC__)) || defined(__RADNDS__) || defined(__RADIPHONE__) | |
| + defined(__RADLINUX__) || defined(__RADMAC__)) || defined(__RADNDS__) || defined(__RADIPHONE__) || defined(__RADANDROID__) | |
| #define RAD_ALIGN(type,var,num) type __attribute__ ((aligned (num))) var | |
| #elif (defined(__RADNGC__) || defined(__RADPS2__)) | |
| #define RAD_ALIGN(type,var,num) __attribute__ ((aligned (num))) type var | |
| #elif (defined(_MSC_VER) && (_MSC_VER >= 1300)) || defined(__RADWINRTAPI__) | |
| #define RAD_ALIGN(type,var,num) type __declspec(align(num)) var | |
| #else | |
| - #define RAD_ALIGN(type,var,num) type var | |
| + #error RAD_ALIGN is not optional | |
| #endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment