OpenLibm/include/types-compat.h

25 lines
468 B
C
Raw Normal View History

#ifndef _TYPES_COMPAT_H_
#define _TYPES_COMPAT_H_
#include <sys/types.h>
2012-04-09 02:59:04 +02:00
#include <limits.h>
2012-05-26 05:04:41 +02:00
#include <stdint.h>
#ifdef __linux__
/* Not sure what to do about __pure2 on linux */
#define __pure2
#endif
#ifdef _WIN32
2012-08-19 10:14:18 +02:00
/* Not sure what to do about __pure2 on windows */
#define __pure2
#endif
typedef uint8_t u_int8_t;
typedef uint16_t u_int16_t;
typedef uint32_t u_int32_t;
typedef uint64_t u_int64_t;
#endif