notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve 64bit portability
[picodrive.git]
/
cpu
/
cz80
/
cz80.h
diff --git
a/cpu/cz80/cz80.h
b/cpu/cz80/cz80.h
index
9b97d3b
..
f3f79b3
100644
(file)
--- a/
cpu/cz80/cz80.h
+++ b/
cpu/cz80/cz80.h
@@
-11,6
+11,12
@@
#ifndef CZ80_H
\r
#define CZ80_H
\r
\r
#ifndef CZ80_H
\r
#define CZ80_H
\r
\r
+// uintptr_t
\r
+#include <stdlib.h>
\r
+#ifndef _MSC_VER
\r
+#include <stdint.h>
\r
+#endif
\r
+
\r
#ifdef __cplusplus
\r
extern "C" {
\r
#endif
\r
#ifdef __cplusplus
\r
extern "C" {
\r
#endif
\r
@@
-44,7
+50,7
@@
extern "C" {
#endif
\r
\r
#ifndef FPTR
\r
#endif
\r
\r
#ifndef FPTR
\r
-#define FPTR u
nsigned long
\r
+#define FPTR u
intptr_t
\r
#endif
\r
\r
/*************************************/
\r
#endif
\r
\r
/*************************************/
\r