OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [fixincludes/] [tests/] [base/] [stdint-aix.h] - Blame information for rev 747

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 724 jeremybenn
/*  DO NOT EDIT THIS FILE.
2
 
3
    It has been auto-edited by fixincludes from:
4
 
5
        "fixinc/tests/inc/stdint-aix.h"
6
 
7
    This had to be done to correct non-standard usages in the
8
    original, manufacturer supplied header file.  */
9
 
10
 
11
 
12
#if defined( AIX_STDINT_1_CHECK )
13
#define UINT8_MAX       (255)
14
#define UINT16_MAX      (65535)
15
#endif  /* AIX_STDINT_1_CHECK */
16
 
17
 
18
#if defined( AIX_STDINT_2_CHECK )
19
#define INTPTR_MIN      (-INTPTR_MAX-1)
20
#define INTPTR_MAX      9223372036854775807L
21
#define UINTPTR_MAX     18446744073709551615UL
22
#else
23
#define INTPTR_MIN      (-INTPTR_MAX-1)
24
#define INTPTR_MAX      2147483647L
25
#define UINTPTR_MAX     4294967295UL
26
#endif  /* AIX_STDINT_2_CHECK */
27
 
28
 
29
#if defined( AIX_STDINT_3_CHECK )
30
#define PTRDIFF_MIN     (-9223372036854775807L - 1)
31
#define PTRDIFF_MAX     9223372036854775807L
32
#else
33
#define PTRDIFF_MIN     (-2147483647L - 1)
34
#define PTRDIFF_MAX     2147483647L
35
#endif  /* AIX_STDINT_3_CHECK */
36
 
37
 
38
#if defined( AIX_STDINT_4_CHECK )
39
#define SIZE_MAX        18446744073709551615UL
40
#else
41
#define SIZE_MAX        4294967295UL
42
#endif  /* AIX_STDINT_4_CHECK */
43
 
44
 
45
#if defined( AIX_STDINT_5_CHECK )
46
#define UINT8_C(c)      c
47
#define UINT16_C(c)     c
48
#endif  /* AIX_STDINT_5_CHECK */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.