diff options
| author | Stelios Tsampas <loathingkernel@gmail.com> | 2017-07-10 16:14:43 +0300 |
|---|---|---|
| committer | Stelios Tsampas <loathingkernel@gmail.com> | 2017-07-16 21:20:53 +0300 |
| commit | d880179b2a3aacae96bb4771a3c9e227ca6d5818 (patch) | |
| tree | 96730dce1e5afeef992abc6ae6884577c8ebf53c /libpcsxcore/pgxp_gte.h | |
| parent | 496df34ee4e3861c6e9b0ee8256d575622447563 (diff) | |
| download | pcsxr-d880179b2a3aacae96bb4771a3c9e227ca6d5818.tar.gz | |
Fix compilation on linux.
Diffstat (limited to 'libpcsxcore/pgxp_gte.h')
| -rw-r--r-- | libpcsxcore/pgxp_gte.h | 3 |
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_ */
|
