diff options
author | Vas Crabb <vas@vastheman.com> | 2016-03-06 22:41:27 +1100 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2016-03-06 22:41:27 +1100 |
commit | 409fbaba89dfe53c58300cf084d23313151ff3fd (patch) | |
tree | 391ec86a2c1ce65c01579534a6fedbf845ba97fb | |
parent | cbf9ae2cb4c0012ab45851a5b23978f1beb87c94 (diff) |
hopefully fix build for everyone
-rw-r--r-- | src/osd/osdcomm.h | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/src/osd/osdcomm.h b/src/osd/osdcomm.h index 0a94ec0c284..5d0e792130e 100644 --- a/src/osd/osdcomm.h +++ b/src/osd/osdcomm.h @@ -65,27 +65,20 @@ /* 8-bit values */ -using UINT8 = uint8_t; -using INT8 = int8_t; +using UINT8 = std::uint8_t; +using INT8 = std::int8_t; /* 16-bit values */ -using UINT16 = uint16_t; -using INT16 = int16_t; +using UINT16 = std::uint16_t; +using INT16 = std::int16_t; /* 32-bit values */ -using UINT32 = uint32_t; -using INT32 = int32_t; +using UINT32 = std::uint32_t; +using INT32 = std::int32_t; /* 64-bit values */ -#ifndef _WINDOWS_H -#ifdef _MSC_VER -using UINT64 = unsigned __int64; -using INT64 = signed __int64; -#else -using UINT64 = unsigned long long; -using INT64 = signed long long; -#endif -#endif +using UINT64 = std::uint64_t; +using INT64 = std::int64_t; /* pointer-sized values */ using FPTR = uintptr_t; |