Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/stdint.h

    r67c64b9f rb4d6252  
    3636#define POSIX_STDINT_H_
    3737
    38 #undef INT8_MAX
    39 #undef INT8_MIN
    40 #define INT8_MAX  127
    41 #define INT8_MIN  (-128)
    42 
    43 #undef UINT8_MAX
    44 #undef UINT8_MIN
    45 #define UINT8_MAX  255
    46 #define UINT8_MIN  0
    47 
    48 #undef INT16_MAX
    49 #undef INT16_MIN
    50 #define INT16_MAX  32767
    51 #define INT16_MIN  (-32768)
    52 
    53 #undef UINT16_MAX
    54 #undef UINT16_MIN
    55 #define UINT16_MAX  65535
    56 #define UINT16_MIN  0
    57 
    58 #undef INT32_MAX
    59 #undef INT32_MIN
    60 #define INT32_MAX  2147483647
    61 #define INT32_MIN  (-INT32_MAX - 1)
    62 
    63 #undef UINT32_MAX
    64 #undef UINT32_MIN
    65 #define UINT32_MAX  4294967295U
    66 #define UINT32_MIN  0U
    67 
    68 #undef INT64_MAX
    69 #undef INT64_MIN
    70 #define INT64_MAX  9223372036854775807LL
    71 #define INT64_MIN  (-INT64_MAX - 1LL)
    72 
    73 #undef UINT64_MAX
    74 #undef  UINT64_MIN
    75 #define UINT64_MAX  18446744073709551615ULL
    76 #define UINT64_MIN  0ULL
    77 
    78 #undef OFF64_MAX
    79 #undef OFF64_MIN
    80 #define OFF64_MAX  INT64_MAX
    81 #define OFF64_MIN  INT64_MIN
    82 
    83 #undef AOFF64_MAX
    84 #undef AOFF64_MIN
    85 #define AOFF64_MAX  UINT64_MAX
    86 #define AOFF64_MIN  UINT64_MIN
    87 
    88 #include "libc/sys/types.h"
     38#include "libc/stdint.h"
    8939
    9040typedef int64_t posix_intmax_t;
Note: See TracChangeset for help on using the changeset viewer.