mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
improve 64bit portability
for win64 mostly
This commit is contained in:
parent
a0b95da112
commit
48c9e01be8
14 changed files with 42 additions and 26 deletions
|
@ -1,6 +1,12 @@
|
|||
#ifndef PICO_PORT_INCLUDED
|
||||
#define PICO_PORT_INCLUDED
|
||||
|
||||
// provide size_t, uintptr_t
|
||||
#include <stdlib.h>
|
||||
#if !(defined(_MSC_VER) && _MSC_VER < 1800)
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && defined(__i386__)
|
||||
#define REGPARM(x) __attribute__((regparm(x)))
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue