1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-06-27 23:14:05 +00:00
GLideN64/src/porting.h
2022-01-29 17:22:09 -05:00

21 lines
272 B
C

#pragma once
#include <stdint.h>
#if UINTPTR_MAX == 0xffffffff
#elif UINTPTR_MAX == 0xffffffffffffffff
#define IS_64_BIT 1
#else
/* wtf */
#endif
#ifdef NATIVE
#ifdef IS_64_BIT
#define word uint64_t
#else
#define word uint32_t
#endif
#else
#define word uint32_t
#endif