--- a/mojoshader_internal.h Fri Feb 21 00:37:06 2020 -0500
+++ b/mojoshader_internal.h Tue Mar 24 21:17:37 2020 -0400
@@ -122,7 +122,7 @@
#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!
+#define isinf(x) (!_finite(x)) // FIXME: not a safe replacement!
#endif
#define strcasecmp stricmp
#define strncasecmp strnicmp
--- a/profiles/mojoshader_profile_spirv.c Fri Feb 21 00:37:06 2020 -0500
+++ b/profiles/mojoshader_profile_spirv.c Tue Mar 24 21:17:37 2020 -0400
@@ -429,7 +429,7 @@
idtype = spv_get_type(ctx, STI_UINT);
else
{
- failf(ctx, "%s: invalid attribute type %d", __func__, type);
+ failf(ctx, "spv_output_scalar: invalid attribute type %d", type);
return 0;
} // else
idret = spv_bumpid(ctx);