Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 537334 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +6 lines)
Line  Link Here
0
-- a/pico/lib/picopltf.h
0
++ b/pico/lib/picopltf.h
Lines 39-44 Link Here
39
#define PICO_MacOSX     5   /* Macintosh OS X */
39
#define PICO_MacOSX     5   /* Macintosh OS X */
40
#define PICO_Linux      7   /* Linux */
40
#define PICO_Linux      7   /* Linux */
41
41
42
#define PICO_GENERIC    99  /* Generic */
43
42
/* * definition of current platform ***/
44
/* * definition of current platform ***/
43
#if !defined(PICO_PLATFORM)
45
#if !defined(PICO_PLATFORM)
44
#if defined(_WIN32)
46
#if defined(_WIN32)
Lines 48-54 Link Here
48
#elif defined(linux) || defined(__linux__) || defined(__linux)
50
#elif defined(linux) || defined(__linux__) || defined(__linux)
49
#define PICO_PLATFORM    PICO_Linux
51
#define PICO_PLATFORM    PICO_Linux
50
#else
52
#else
51
#error PICO_PLATFORM not defined
53
#define PICO_PLATFORM    PICO_GENERIC
52
#endif
54
#endif
53
#endif /* !defined(PICO_PLATFORM) */
55
#endif /* !defined(PICO_PLATFORM) */
54
56
Lines 64-70 Link Here
64
#define PICO_PLATFORM_STRING "UnknownPlatform"
66
#define PICO_PLATFORM_STRING "UnknownPlatform"
65
#endif
67
#endif
66
68
67
#if (PICO_PLATFORM == PICO_MacOSX)
69
#include <endian.h>
70
#if __BYTE_ORDER == __BIG_ENDIAN
68
#define PICO_ENDIANNESS ENDIANNESS_BIG
71
#define PICO_ENDIANNESS ENDIANNESS_BIG
69
#else
72
#else
70
#define PICO_ENDIANNESS ENDIANNESS_LITTLE
73
#define PICO_ENDIANNESS ENDIANNESS_LITTLE

Return to bug 537334