summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
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_ */