1 --- a/pico/lib/picopltf.h
2 +++ b/pico/lib/picopltf.h
4 #define PICO_MacOSX 5 /* Macintosh OS X */
5 #define PICO_Linux 7 /* Linux */
7 +#define PICO_GENERIC 99 /* Generic */
9 /* * definition of current platform ***/
10 #if !defined(PICO_PLATFORM)
13 #elif defined(linux) || defined(__linux__) || defined(__linux)
14 #define PICO_PLATFORM PICO_Linux
16 -#error PICO_PLATFORM not defined
17 +#define PICO_PLATFORM PICO_GENERIC
19 #endif /* !defined(PICO_PLATFORM) */
22 #define PICO_PLATFORM_STRING "UnknownPlatform"
25 -#if (PICO_PLATFORM == PICO_MacOSX)
27 +#if __BYTE_ORDER == __BIG_ENDIAN
28 #define PICO_ENDIANNESS ENDIANNESS_BIG
30 #define PICO_ENDIANNESS ENDIANNESS_LITTLE