2012-04-09 02:03:36 +02:00
|
|
|
#ifndef _TYPES_COMPAT_H_
|
|
|
|
#define _TYPES_COMPAT_H_
|
|
|
|
|
2014-12-01 12:10:41 +01:00
|
|
|
#include <stdint.h>
|
2012-04-09 02:59:04 +02:00
|
|
|
#include <limits.h>
|
2012-05-26 05:04:41 +02:00
|
|
|
#include <stdint.h>
|
2012-04-09 02:03:36 +02:00
|
|
|
|
|
|
|
#ifdef __linux__
|
|
|
|
/* Not sure what to do about __pure2 on linux */
|
|
|
|
#define __pure2
|
|
|
|
#endif
|
|
|
|
|
2014-03-19 01:47:48 +01:00
|
|
|
#ifdef _WIN32
|
2012-08-19 10:14:18 +02:00
|
|
|
/* Not sure what to do about __pure2 on windows */
|
2012-04-09 02:03:36 +02:00
|
|
|
#define __pure2
|
2014-11-27 15:45:59 +01:00
|
|
|
#endif
|
|
|
|
|
2012-04-09 02:03:36 +02:00
|
|
|
typedef uint8_t u_int8_t;
|
|
|
|
typedef uint16_t u_int16_t;
|
|
|
|
typedef uint32_t u_int32_t;
|
|
|
|
typedef uint64_t u_int64_t;
|
|
|
|
|
|
|
|
|
2012-04-09 02:46:02 +02:00
|
|
|
#endif
|