summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authoriCatButler <i.am.catbutler@gmail.com>2016-05-15 16:29:53 +0100
committeriCatButler <i.am.catbutler@gmail.com>2016-05-15 16:29:53 +0100
commit1e37eec079558337768c4487fcd0fdd80ea8b005 (patch)
tree5e0d182b82b7f9db8a3b32498484dbaa03e7c0b8 /libpcsxcore
parent2a24b74c12c6d248409dc93b35edbc373d03b29c (diff)
parenta943b8e2de65f8ec5853cec8c7417ae8df9e9d53 (diff)
Merge with OSX commit
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/pgxp_gte.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpcsxcore/pgxp_gte.h b/libpcsxcore/pgxp_gte.h
index 3a14c5b8..f9c1b618 100644
--- a/libpcsxcore/pgxp_gte.h
+++ b/libpcsxcore/pgxp_gte.h
@@ -66,4 +66,9 @@ u8 PGXP_psxMemRead8Trace(u32 mem, u32 code);
void PGXP_psxMemWrite8Trace(u32 mem, u8 value, u32 code);
void PGXP_psxTrace(u32 code, u32 rtv);
+
+#ifndef max
+# define max(a, b) ((a) > (b) ? (a) : (b))
+#endif
+
#endif /* _PGXP_GTE_H_ */