Changeset 99170e0c in mainline for abi/include/_bits/native.h


Ignore:
Timestamp:
2018-09-29T14:56:56Z (7 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1938b381
Parents:
10d65d70
Message:

Actually use compiler's <stddef.h>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abi/include/_bits/native.h

    r10d65d70 r99170e0c  
    4646#define _BITS_NATIVE_H_
    4747
    48 #include <_bits/macros.h>
     48#include <inttypes.h>
    4949
    50 #define ATOMIC_COUNT_MIN  __UINTPTR_MIN__
    51 #define ATOMIC_COUNT_MAX  __UINTPTR_MAX__
     50typedef uintptr_t pfn_t;
     51typedef uintptr_t ipl_t;
     52typedef uintptr_t sysarg_t;
     53typedef intptr_t  native_t;
    5254
    53 typedef __UINTPTR_TYPE__ pfn_t;
    54 typedef __UINTPTR_TYPE__ ipl_t;
    55 typedef __UINTPTR_TYPE__ sysarg_t;
    56 typedef __INTPTR_TYPE__  native_t;
    57 
    58 #define PRIdn  __PRIdPTR__  /**< Format for native_t. */
    59 #define PRIun  __PRIuPTR__  /**< Format for sysarg_t. */
    60 #define PRIxn  __PRIxPTR__  /**< Format for hexadecimal sysarg_t. */
     55#define PRIdn  PRIdPTR  /**< Format for native_t. */
     56#define PRIun  PRIuPTR  /**< Format for sysarg_t. */
     57#define PRIxn  PRIxPTR  /**< Format for hexadecimal sysarg_t. */
    6158
    6259#endif
Note: See TracChangeset for help on using the changeset viewer.