Skip to content

Commit 6c09697

Browse files
committed
Fix MSVC2015+ builds (#5274)
1 parent 5c72d37 commit 6c09697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: mapregex.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
/*Need to specify this so that mapregex.h doesn't defined constants and
4646
doesn't #define away our ms_*/
4747

48-
#if defined(_WIN32) && !defined(__CYGWIN__)
48+
#if defined(_WIN32) && !defined(__CYGWIN__) && _MSC_VER < 1900
4949
#define off_t long
5050
#endif
5151

0 commit comments

Comments
 (0)