Commit | Line | Data |
---|---|---|
bce14421 | 1 | #ifndef PICO_PORT_INCLUDED |
2 | #define PICO_PORT_INCLUDED | |
3 | ||
4 | #if defined(__GNUC__) && defined(__i386__) | |
5 | #define REGPARM(x) __attribute__((regparm(x))) | |
6 | #else | |
7 | #define REGPARM(x) | |
8 | #endif | |
9 | ||
10 | #ifdef __GNUC__ | |
11 | #define NOINLINE __attribute__((noinline)) | |
12 | #define ALIGNED(n) __attribute__((aligned(n))) | |
13 | #else | |
14 | #define NOINLINE | |
15 | #define ALIGNED(n) | |
16 | #endif | |
17 | ||
18 | #endif // PICO_PORT_INCLUDED |