mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
use fixed sized integers from stdint.h
This commit is contained in:
18
src/types.h
18
src/types.h
@ -19,13 +19,15 @@
|
|||||||
#ifndef TYPES_H
|
#ifndef TYPES_H
|
||||||
#define TYPES_H
|
#define TYPES_H
|
||||||
|
|
||||||
typedef unsigned char u8;
|
#include <stdint.h>
|
||||||
typedef unsigned short u16;
|
|
||||||
typedef unsigned int u32;
|
typedef uint8_t u8;
|
||||||
typedef unsigned long long int u64;
|
typedef uint16_t u16;
|
||||||
typedef signed char s8;
|
typedef uint32_t u32;
|
||||||
typedef signed short s16;
|
typedef uint64_t u64;
|
||||||
typedef signed int s32;
|
typedef int8_t s8;
|
||||||
typedef signed long long int s64;
|
typedef int16_t s16;
|
||||||
|
typedef int32_t s32;
|
||||||
|
typedef int64_t s64;
|
||||||
|
|
||||||
#endif // TYPES_H
|
#endif // TYPES_H
|
||||||
|
Reference in New Issue
Block a user