Skip to content

Commit

Permalink
Merge pull request robertdavidgraham#175 from alessio/for-robertdavid…
Browse files Browse the repository at this point in the history
…graham-fix-ftbfs-with-gcc5

Fix build failure with GCC 5
  • Loading branch information
robertdavidgraham committed Jun 28, 2015
2 parents b395f18 + b17c389 commit cec300a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/string_s.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const char *strerror_x(int x);
typedef int errno_t;
errno_t fopen_s(FILE **fp, const char *filename, const char *mode);

#elif defined(__GNUC__) && (__GNUC__ == 4)
#elif defined(__GNUC__) && (__GNUC__ >= 4)
#include <inttypes.h>
/* GCC 4 */
# define sprintf_s snprintf
Expand Down

0 comments on commit cec300a

Please sign in to comment.