Skip to content

Commit 7877094

Browse files
author
Timmy
committed
fix VS 2015 build
1 parent 1ffeb0f commit 7877094

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)