revert r907 (fmin()/fmax() is available with vs2012 and newer. patch from Eric Wasylishen.)

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@921 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2014-06-21 20:29:11 +00:00
parent 5090b8b03d
commit 40c893ee52

View file

@ -35,12 +35,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# pragma warning(disable:4267)
/* 'var' : conversion from 'size_t' to 'type',
possible loss of data (/Wp64 warning) */
/* MSC has fmin() / fmax() in VS2013, and according to the
* docs, VS2012. Use the min/max macros on earlier versions: */
#if _MSC_VER < 1700
/* MSC doesn't have fmin() / fmax(), use the min/max macros: */
#define fmax q_max
#define fmin q_min
#endif
#endif /* _MSC_VER */
#endif /* _WIN32 */