summaryrefslogtreecommitdiff
path: root/libpcsxcore/pgxp_gte.h
diff options
context:
space:
mode:
authorMrLavender <mrlavender@f2s.com>2017-06-27 01:57:29 +0100
committerMrLavender <mrlavender@f2s.com>2017-06-27 01:57:29 +0100
commit72b90e1c61be53d99c61e15f9d2b60c807920a89 (patch)
tree9e0834c7de85e28f1d94e8075efe794da52c7303 /libpcsxcore/pgxp_gte.h
parent36c126b66581a154143eb789ae9bdf665bc50560 (diff)
downloadpcsxr-72b90e1c61be53d99c61e15f9d2b60c807920a89.tar.gz
Fix OSX debug build
Diffstat (limited to 'libpcsxcore/pgxp_gte.h')
-rw-r--r--libpcsxcore/pgxp_gte.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpcsxcore/pgxp_gte.h b/libpcsxcore/pgxp_gte.h
index cc38ade1..de607c99 100644
--- a/libpcsxcore/pgxp_gte.h
+++ b/libpcsxcore/pgxp_gte.h
@@ -60,5 +60,8 @@ void PGXP_GTE_SWC2(u32 instr, u32 rtVal, u32 addr); // copy GTE reg to memory
#ifndef max
# define max(a, b) ((a) > (b) ? (a) : (b))
#endif
+#ifndef min
+# define min(a, b) ((a) < (b) ? (a) : (b))
+#endif
#endif /* _PGXP_GTE_H_ */