mojoshader_internal.h
changeset 1201 2ca303e50e27
parent 1198 84ae1b18fdfe
child 1224 21cd84f1aa0a
--- a/mojoshader_internal.h	Tue Apr 23 14:55:13 2019 -0400
+++ b/mojoshader_internal.h	Sat Apr 27 22:57:40 2019 +0200
@@ -109,7 +109,9 @@
 #define snprintf _snprintf  // !!! FIXME: not a safe replacement!
 #define vsnprintf _vsnprintf  // !!! FIXME: not a safe replacement!
 #define isnan _isnan // !!! FIXME: not a safe replacement!
+#if _MSC_VER < 1900 // pre MSVC 2015
 #define isinf(x) (!_isfinite(x)) // FIXME: not a safe replacement!
+#endif
 #define strcasecmp stricmp
 #define strncasecmp strnicmp
 typedef unsigned __int8 uint8;