Skip to content

Commit ccb8bec

Browse files
author
Timmy
committed
Merge pull request #146 from TimmyLiu/develop
fix VS 2015 build
2 parents 7cbbf9c + 7877094 commit ccb8bec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/include/msvc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
#define EOVERFLOW 1000
2828
#endif /* EOVERFLOW */
2929

30+
#if ( _MSC_VER < 1900 )
3031
#define snprintf _snprintf
32+
#endif
3133

3234
typedef long ssize_t;
3335

0 commit comments

Comments
 (0)