diff options
| author | Carter Li <zhangsongcui3371@sina.com> | 2016-05-13 00:11:59 +0800 |
|---|---|---|
| committer | Carter Li <zhangsongcui3371@sina.com> | 2016-05-13 00:11:59 +0800 |
| commit | ee328ce95aaa6f7461466a8d110f745e967fe88b (patch) | |
| tree | 08f1b60a9670c5b5887db128725b9cf7b7fe205d /libpcsxcore | |
| parent | b5a738748175a460f856a1ed8a2e29fa26ebfb14 (diff) | |
| download | pcsxr-ee328ce95aaa6f7461466a8d110f745e967fe88b.tar.gz | |
Fix build on OSX
Tested on OSX 10.11.4, Xcode v7.3
Diffstat (limited to 'libpcsxcore')
| -rw-r--r-- | libpcsxcore/pgxp_gte.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpcsxcore/pgxp_gte.h b/libpcsxcore/pgxp_gte.h index d10021c0..66208467 100644 --- a/libpcsxcore/pgxp_gte.h +++ b/libpcsxcore/pgxp_gte.h @@ -65,4 +65,8 @@ void PGXP_psxMemWrite16Trace(u32 mem, u16 value, u32 code); u8 PGXP_psxMemRead8Trace(u32 mem, u32 code);
void PGXP_psxMemWrite8Trace(u32 mem, u8 value, u32 code);
+#ifndef max
+# define max(a, b) ((a) > (b) ? (a) : (b))
+#endif
+
#endif /* _PGXP_GTE_H_ */
|
