OpenLibm/src/types-compat.h
Ed Schouten bc3f903bc2 Move public headers into include/ and private headers into src/.
While there, also modify the install target. We should make sure to
install all openlibm*.h headers. There is still some work to be done:
openlibm_fenv_*.h still depends on some additional bits. I'd propose
that we eventually create an include/openlibm_cdefs.h that contains all
of the macros we need.
2015-01-11 16:35:32 +01:00

24 lines
465 B
C

#ifndef _TYPES_COMPAT_H_
#define _TYPES_COMPAT_H_
#include <stdint.h>
#include <limits.h>
#include <stdint.h>
#ifdef __linux__
/* Not sure what to do about __pure2 on linux */
#define __pure2
#endif
#ifdef _WIN32
/* 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