2016-09-05 19:47:26 +00:00
|
|
|
/**
|
|
|
|
* Authors.....: Jens Steube <jens.steube@gmail.com>
|
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
2016-09-06 16:44:05 +00:00
|
|
|
#ifndef _TYPES_INT_H
|
|
|
|
#define _TYPES_INT_H
|
2016-09-05 19:47:26 +00:00
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
#ifdef _WIN
|
|
|
|
#include <windows.h>
|
|
|
|
#ifdef _BASETSD_H
|
|
|
|
#else
|
|
|
|
typedef UINT8 uint8_t;
|
|
|
|
typedef UINT16 uint16_t;
|
|
|
|
typedef UINT32 uint32_t;
|
|
|
|
typedef UINT64 uint64_t;
|
|
|
|
typedef INT8 int8_t;
|
|
|
|
typedef INT16 int16_t;
|
|
|
|
typedef INT32 int32_t;
|
|
|
|
typedef INT64 int64_t;
|
|
|
|
#endif
|
|
|
|
#endif // _WIN
|
|
|
|
|
|
|
|
typedef uint8_t u8;
|
|
|
|
typedef uint16_t u16;
|
|
|
|
typedef uint32_t u32;
|
|
|
|
typedef uint64_t u64;
|
|
|
|
|
|
|
|
typedef uint32_t uint; // we need to get rid of this sooner or later, for consistency
|
2016-09-06 16:44:05 +00:00
|
|
|
|
|
|
|
#endif // _TYPES_INT_H
|