Skip to content

Commit

Permalink
Fix compilation error regarding snprintf in VS2015.
Browse files Browse the repository at this point in the history
Add a check for VS2013 and earlier before defining snprintf.
  • Loading branch information
jonongjs committed Mar 20, 2016
1 parent db50a5e commit fa5ff7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CSteam/CSteam.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#ifndef CSTEAM_H
#define CSTEAM_H

#if defined(WIN32)
#if (defined(_MSC_VER) && (_MSC_VER < 1900))
#define snprintf _snprintf
#endif

Expand Down

0 comments on commit fa5ff7d

Please sign in to comment.