mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-24 18:08:07 +00:00
TexCompTypes: Fix to not require BaseConfig.h.
This commit is contained in:
parent
9c4cd7abde
commit
deb1856b70
1 changed files with 0 additions and 45 deletions
|
@ -22,47 +22,6 @@
|
|||
#ifndef _TEX_COMP_TYPES_H_
|
||||
#define _TEX_COMP_TYPES_H_
|
||||
|
||||
#include "FasTC/BaseConfig.h"
|
||||
|
||||
// Do we support C++11?
|
||||
#ifdef FASTC_BASE_HAS_CPP11_TYPES
|
||||
#include <cstdint>
|
||||
|
||||
typedef int8_t int8;
|
||||
typedef uint8_t uint8;
|
||||
|
||||
typedef int16_t int16;
|
||||
typedef uint16_t uint16;
|
||||
|
||||
typedef int32_t int32;
|
||||
typedef uint32_t uint32;
|
||||
|
||||
typedef int64_t int64;
|
||||
typedef uint64_t uint64;
|
||||
|
||||
typedef char CHAR;
|
||||
|
||||
#else
|
||||
|
||||
// Windows?
|
||||
#ifdef _MSC_VER
|
||||
|
||||
typedef __int16 int16;
|
||||
typedef unsigned __int16 uint16;
|
||||
typedef __int32 int32;
|
||||
typedef unsigned __int32 uint32;
|
||||
typedef __int8 int8;
|
||||
typedef unsigned __int8 uint8;
|
||||
|
||||
typedef unsigned __int64 uint64;
|
||||
typedef __int64 int64;
|
||||
|
||||
#include <tchar.h>
|
||||
typedef TCHAR CHAR;
|
||||
|
||||
// If not, assume GCC, or at least standard defines...
|
||||
#else
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef int8_t int8;
|
||||
|
@ -77,8 +36,4 @@ typedef uint64_t uint64;
|
|||
|
||||
typedef char CHAR;
|
||||
|
||||
#endif // _MSC_VER
|
||||
|
||||
#endif // FASTC_BASE_HAS_CPP11_TYPES
|
||||
|
||||
#endif // _TEX_COMP_TYPES_H_
|
||||
|
|
Loading…
Reference in a new issue