1 #ifndef PICO_PORT_INCLUDED
2 #define PICO_PORT_INCLUDED
4 // provide size_t, uintptr_t
6 #if !(defined(_MSC_VER) && _MSC_VER < 1800)
10 #if defined(__GNUC__) && defined(__i386__)
11 #define REGPARM(x) __attribute__((regparm(x)))
17 #define NOINLINE __attribute__((noinline))
18 #define ALIGNED(n) __attribute__((aligned(n)))
19 #define unlikely(x) __builtin_expect((x), 0)
23 #define unlikely(x) (x)
27 #define snprintf _snprintf
28 #define strcasecmp _stricmp
29 #define strncasecmp _strnicmp
30 #define strdup _strdup
33 #endif // PICO_PORT_INCLUDED