WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1#pragma once
2
3// STL headers
4#ifdef min
5#undef min
6#endif
7
8#ifdef max
9#undef max
10#endif
11
12#if defined(_WINDOWS)
13#include <BaseTsd.h>
14#if !defined(HAVE_SSIZE_T) && !defined(_SSIZE_T_DEFINED)
15typedef SSIZE_T ssize_t;
16#endif
17#define _SSIZE_T_DEFINED
18#define HAVE_SSIZE_T
19typedef __int8 int8;
20typedef __int16 int16;
21typedef __int32 int32;
22typedef __int64 int64;
23typedef unsigned __int8 uint8;
24typedef unsigned __int16 uint16;
25typedef unsigned __int32 uint32;
26typedef unsigned __int64 uint64;
27typedef unsigned int uint;
28#else
29 #include <stdint.h>
30 typedef uint8_t uint8;
31 typedef int8_t int8;
32 typedef uint16_t uint16;
33 typedef int16_t int16;
34 typedef uint32_t uint32;
35 typedef int32_t int32;
36 typedef unsigned int uint;
37#endif
uint8_t uint8
Definition types.h:30
unsigned int uint
Definition types.h:36
int16_t int16
Definition types.h:33
int8_t int8
Definition types.h:31
int32_t int32
Definition types.h:35
uint16_t uint16
Definition types.h:32
uint32_t uint32
Definition types.h:34