mirror of
https://github.com/holub/mame
synced 2025-10-05 00:38:58 +03:00
hopefully fix build for everyone
This commit is contained in:
parent
cbf9ae2cb4
commit
409fbaba89
@ -65,27 +65,20 @@
|
|||||||
|
|
||||||
|
|
||||||
/* 8-bit values */
|
/* 8-bit values */
|
||||||
using UINT8 = uint8_t;
|
using UINT8 = std::uint8_t;
|
||||||
using INT8 = int8_t;
|
using INT8 = std::int8_t;
|
||||||
|
|
||||||
/* 16-bit values */
|
/* 16-bit values */
|
||||||
using UINT16 = uint16_t;
|
using UINT16 = std::uint16_t;
|
||||||
using INT16 = int16_t;
|
using INT16 = std::int16_t;
|
||||||
|
|
||||||
/* 32-bit values */
|
/* 32-bit values */
|
||||||
using UINT32 = uint32_t;
|
using UINT32 = std::uint32_t;
|
||||||
using INT32 = int32_t;
|
using INT32 = std::int32_t;
|
||||||
|
|
||||||
/* 64-bit values */
|
/* 64-bit values */
|
||||||
#ifndef _WINDOWS_H
|
using UINT64 = std::uint64_t;
|
||||||
#ifdef _MSC_VER
|
using INT64 = std::int64_t;
|
||||||
using UINT64 = unsigned __int64;
|
|
||||||
using INT64 = signed __int64;
|
|
||||||
#else
|
|
||||||
using UINT64 = unsigned long long;
|
|
||||||
using INT64 = signed long long;
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* pointer-sized values */
|
/* pointer-sized values */
|
||||||
using FPTR = uintptr_t;
|
using FPTR = uintptr_t;
|
||||||
|
Loading…
Reference in New Issue
Block a user