Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
VS2010 buildfixes
  • Loading branch information
TheSpydog committed Mar 25, 2020
1 parent c30971e commit 585d326
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mojoshader_internal.h
Expand Up @@ -122,7 +122,7 @@ size_t MOJOSHADER_printFloat(char *text, size_t maxlen, float arg);
#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
Expand Down
2 changes: 1 addition & 1 deletion profiles/mojoshader_profile_spirv.c
Expand Up @@ -429,7 +429,7 @@ static uint32 spv_output_scalar(Context *ctx, ComponentList *cl,
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);
Expand Down

0 comments on commit 585d326

Please sign in to comment.