diff options
| author | iCatButler <i.am.catbutler@gmail.com> | 2016-05-13 20:47:09 +0100 |
|---|---|---|
| committer | iCatButler <i.am.catbutler@gmail.com> | 2016-05-13 20:47:09 +0100 |
| commit | a943b8e2de65f8ec5853cec8c7417ae8df9e9d53 (patch) | |
| tree | 08f1b60a9670c5b5887db128725b9cf7b7fe205d /libpcsxcore | |
| parent | b5a738748175a460f856a1ed8a2e29fa26ebfb14 (diff) | |
| parent | ee328ce95aaa6f7461466a8d110f745e967fe88b (diff) | |
| download | pcsxr-a943b8e2de65f8ec5853cec8c7417ae8df9e9d53.tar.gz | |
Merge pull request #2 from CarterLi/master
Fix build on OSX
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_ */
|
