rz5 e5b11bf647 Fix compilation on MinGW/GCC
Fix the following compilation errors:
´´´
In file included from mednafen/psx/gte.cpp:24:0:
mednafen/psx/gte.cpp: In function 'void TransformXY(int64_t, float, uint16)':
mednafen/psx/gte.cpp:1076:48: error: 'min' was not declared in this scope
    precise_x = max(-0x400, min(precise_x, 0x3ff));
                                                ^
./mednafen/../pgxp/pgxp_gte.h:67:30: note: in definition of macro 'max'
 #   define max(a, b) ((a) > (b) ? (a) : (b))
                              ^
mednafen/psx/gte.cpp:1076:48: note: suggested alternative:
    precise_x = max(-0x400, min(precise_x, 0x3ff));
                                                ^
./mednafen/../pgxp/pgxp_gte.h:67:30: note: in definition of macro 'max'
 #   define max(a, b) ((a) > (b) ? (a) : (b))
                              ^
In file included from C:/msys64/mingw64/include/c++/6.1.0/bits/char_traits.h:39:0,
                 from C:/msys64/mingw64/include/c++/6.1.0/string:40,
                 from mednafen/psx/../git.h:4,
                 from mednafen/psx/../mednafen.h:12,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/gte.cpp:21:
C:/msys64/mingw64/include/c++/6.1.0/bits/stl_algobase.h:243:5: note:   'std::min'
     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
     ^~~
make: *** [Makefile:378: mednafen/psx/gte.o] Error 1

´´´
2016-10-01 12:23:21 +01:00
..
2016-08-15 15:37:18 +02:00
2016-08-15 06:35:34 +02:00
2016-10-01 12:23:21 +01:00
2015-07-29 19:30:37 +02:00
2016-07-20 05:59:18 +02:00
2016-06-07 04:59:17 +02:00
2015-07-25 18:29:23 +02:00
2016-07-20 09:22:38 +02:00
2015-09-30 00:34:18 +02:00
2015-09-30 00:34:18 +02:00
2016-08-14 13:54:20 +02:00
2016-08-14 13:54:20 +02:00
2016-08-09 07:27:55 +02:00
2016-08-09 07:27:55 +02:00
2016-08-14 13:43:27 +02:00
2015-07-23 22:11:43 +02:00
2016-04-08 20:14:31 +02:00
2015-08-06 15:14:15 +02:00
2015-08-06 15:14:15 +02:00
2016-07-20 06:06:40 +02:00
2016-08-07 04:23:07 +02:00
2016-08-07 04:23:07 +02:00
2016-06-07 12:43:31 +02:00
2016-08-14 13:54:20 +02:00
2016-08-14 13:54:20 +02:00
2014-12-07 17:40:31 +01:00
2016-09-25 22:17:45 +02:00
2016-08-09 05:38:51 +02:00
2015-07-29 04:04:34 +02:00
2016-06-07 12:43:31 +02:00
2016-09-21 09:03:02 -07:00
2016-08-06 17:10:30 +02:00
2015-07-29 04:04:34 +02:00
2016-08-14 13:54:20 +02:00
2012-11-13 21:11:10 +01:00