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

Collapse All | Expand All

(-)garglk/glk.h (-2 / +2 lines)
Lines 18-30 Link Here
18
    32-bit unsigned integer type, and glsi32 to make sure it's really a
18
    32-bit unsigned integer type, and glsi32 to make sure it's really a
19
    32-bit signed integer type. If they're not, horrible things will happen. */
19
    32-bit signed integer type. If they're not, horrible things will happen. */
20
#include <limits.h>
20
#include <limits.h>
21
#if (USHORT_MAX == 4294967295)
21
#if (USHRT_MAX == 4294967295)
22
typedef unsigned short glui32;
22
typedef unsigned short glui32;
23
typedef signed   short glsi32;
23
typedef signed   short glsi32;
24
#elif (UINT_MAX   == 4294967295)
24
#elif (UINT_MAX   == 4294967295)
25
typedef unsigned int glui32;
25
typedef unsigned int glui32;
26
typedef signed   int glsi32;
26
typedef signed   int glsi32;
27
#elif (ULONG_MAX) == 4294967295)
27
#elif (ULONG_MAX == 4294967295)
28
typedef unsigned long glui32;
28
typedef unsigned long glui32;
29
typedef signed long glsi32;
29
typedef signed long glsi32;
30
#else
30
#else
(-)terps/nitfol/glk.h (-2 / +2 lines)
Lines 18-30 Link Here
18
    32-bit unsigned integer type, and glsi32 to make sure it's really a
18
    32-bit unsigned integer type, and glsi32 to make sure it's really a
19
    32-bit signed integer type. If they're not, horrible things will happen. */
19
    32-bit signed integer type. If they're not, horrible things will happen. */
20
#include <limits.h>
20
#include <limits.h>
21
#if (USHORT_MAX == 4294967295)
21
#if (USHRT_MAX == 4294967295)
22
typedef unsigned short glui32;
22
typedef unsigned short glui32;
23
typedef signed   short glsi32;
23
typedef signed   short glsi32;
24
#elif (UINT_MAX   == 4294967295)
24
#elif (UINT_MAX   == 4294967295)
25
typedef unsigned int glui32;
25
typedef unsigned int glui32;
26
typedef signed   int glsi32;
26
typedef signed   int glsi32;
27
#elif (ULONG_MAX) == 4294967295)
27
#elif (ULONG_MAX == 4294967295)
28
typedef unsigned long glui32;
28
typedef unsigned long glui32;
29
typedef signed long glsi32;
29
typedef signed long glsi32;
30
#else
30
#else

Return to bug 253098