mirror of
https://github.com/libretro/bsnes-libretro-cplusplus98.git
synced 2025-04-07 20:51:32 +00:00
30 lines
624 B
C++
30 lines
624 B
C++
#ifndef NALL_STDINT_HPP
|
|
#define NALL_STDINT_HPP
|
|
|
|
#include <nall/static.hpp>
|
|
|
|
#if defined(_MSC_VER)
|
|
typedef signed char int8_t;
|
|
typedef signed short int16_t;
|
|
typedef signed int int32_t;
|
|
typedef signed long long int64_t;
|
|
typedef int64_t intmax_t;
|
|
#if defined(_WIN64)
|
|
typedef int64_t intptr_t;
|
|
typedef uint64_t uintptr_t;
|
|
#else
|
|
typedef int32_t intptr_t;
|
|
typedef uint32_t uintptr_t;
|
|
#endif
|
|
|
|
typedef unsigned char uint8_t;
|
|
typedef unsigned short uint16_t;
|
|
typedef unsigned int uint32_t;
|
|
typedef unsigned long long uint64_t;
|
|
typedef uint64_t uintmax_t;
|
|
#else
|
|
#include <stdint.h>
|
|
#endif
|
|
|
|
#endif
|