2015-04-02 02:34:08 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2004, 2005 by
|
|
|
|
* Ralf Corsepius, Ulm/Germany. All rights reserved.
|
|
|
|
*
|
|
|
|
* Permission to use, copy, modify, and distribute this software
|
|
|
|
* is freely granted, provided that this notice is preserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SYS__STDINT_H
|
|
|
|
#define _SYS__STDINT_H
|
|
|
|
|
|
|
|
#include <machine/_default_types.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef ___int8_t_defined
|
2016-04-15 19:44:25 +08:00
|
|
|
#ifndef _INT8_T_DECLARED
|
2015-04-02 02:34:08 +08:00
|
|
|
typedef __int8_t int8_t ;
|
2016-04-15 19:44:25 +08:00
|
|
|
#define _INT8_T_DECLARED
|
|
|
|
#endif
|
|
|
|
#ifndef _UINT8_T_DECLARED
|
2015-04-02 02:34:08 +08:00
|
|
|
typedef __uint8_t uint8_t ;
|
2016-04-15 19:44:25 +08:00
|
|
|
#define _UINT8_T_DECLARED
|
2015-04-02 02:34:08 +08:00
|
|
|
#endif
|
2016-04-15 19:44:25 +08:00
|
|
|
#define __int8_t_defined 1
|
|
|
|
#endif /* ___int8_t_defined */
|
2015-04-02 02:34:08 +08:00
|
|
|
|
|
|
|
#ifdef ___int16_t_defined
|
2016-04-15 19:44:25 +08:00
|
|
|
#ifndef _INT16_T_DECLARED
|
2015-04-02 02:34:08 +08:00
|
|
|
typedef __int16_t int16_t ;
|
2016-04-15 19:44:25 +08:00
|
|
|
#define _INT16_T_DECLARED
|
|
|
|
#endif
|
|
|
|
#ifndef _UINT16_T_DECLARED
|
2015-04-02 02:34:08 +08:00
|
|
|
typedef __uint16_t uint16_t ;
|
2016-04-15 19:44:25 +08:00
|
|
|
#define _UINT16_T_DECLARED
|
2015-04-02 02:34:08 +08:00
|
|
|
#endif
|
2016-04-15 19:44:25 +08:00
|
|
|
#define __int16_t_defined 1
|
|
|
|
#endif /* ___int16_t_defined */
|
2015-04-02 02:34:08 +08:00
|
|
|
|
|
|
|
#ifdef ___int32_t_defined
|
2016-04-15 19:44:25 +08:00
|
|
|
#ifndef _INT32_T_DECLARED
|
2015-04-02 02:34:08 +08:00
|
|
|
typedef __int32_t int32_t ;
|
2016-04-15 19:44:25 +08:00
|
|
|
#define _INT32_T_DECLARED
|
|
|
|
#endif
|
|
|
|
#ifndef _UINT32_T_DECLARED
|
2015-04-02 02:34:08 +08:00
|
|
|
typedef __uint32_t uint32_t ;
|
2016-04-15 19:44:25 +08:00
|
|
|
#define _UINT32_T_DECLARED
|
2015-04-02 02:34:08 +08:00
|
|
|
#endif
|
2016-04-15 19:44:25 +08:00
|
|
|
#define __int32_t_defined 1
|
|
|
|
#endif /* ___int32_t_defined */
|
2015-04-02 02:34:08 +08:00
|
|
|
|
|
|
|
#ifdef ___int64_t_defined
|
2016-04-15 19:44:25 +08:00
|
|
|
#ifndef _INT64_T_DECLARED
|
2015-04-02 02:34:08 +08:00
|
|
|
typedef __int64_t int64_t ;
|
2016-04-15 19:44:25 +08:00
|
|
|
#define _INT64_T_DECLARED
|
|
|
|
#endif
|
|
|
|
#ifndef _UINT64_T_DECLARED
|
2015-04-02 02:34:08 +08:00
|
|
|
typedef __uint64_t uint64_t ;
|
2016-04-15 19:44:25 +08:00
|
|
|
#define _UINT64_T_DECLARED
|
2015-04-02 02:34:08 +08:00
|
|
|
#endif
|
2016-04-15 19:44:25 +08:00
|
|
|
#define __int64_t_defined 1
|
|
|
|
#endif /* ___int64_t_defined */
|
2015-04-02 02:34:08 +08:00
|
|
|
|
2016-10-25 13:13:49 +08:00
|
|
|
#ifndef _INTMAX_T_DECLARED
|
|
|
|
typedef __intmax_t intmax_t;
|
|
|
|
#define _INTMAX_T_DECLARED
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef _UINTMAX_T_DECLARED
|
|
|
|
typedef __uintmax_t uintmax_t;
|
|
|
|
#define _UINTMAX_T_DECLARED
|
|
|
|
#endif
|
|
|
|
|
2016-10-25 13:13:48 +08:00
|
|
|
#ifndef _INTPTR_T_DECLARED
|
2015-04-02 02:34:08 +08:00
|
|
|
typedef __intptr_t intptr_t;
|
2016-04-15 19:44:25 +08:00
|
|
|
#define _INTPTR_T_DECLARED
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef _UINTPTR_T_DECLARED
|
2015-04-02 02:34:08 +08:00
|
|
|
typedef __uintptr_t uintptr_t;
|
2016-04-15 19:44:25 +08:00
|
|
|
#define _UINTPTR_T_DECLARED
|
|
|
|
#endif
|
2015-04-02 02:34:08 +08:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _SYS__STDINT_H */
|