Skip to content

Commit

Permalink
Fix MSVC2015+ builds (#5274)
Browse files Browse the repository at this point in the history
  • Loading branch information
szekerest committed Sep 3, 2017
1 parent 5c72d37 commit 6c09697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapregex.c
Expand Up @@ -45,7 +45,7 @@
/*Need to specify this so that mapregex.h doesn't defined constants and
doesn't #define away our ms_*/

#if defined(_WIN32) && !defined(__CYGWIN__)
#if defined(_WIN32) && !defined(__CYGWIN__) && _MSC_VER < 1900
#define off_t long
#endif

Expand Down

0 comments on commit 6c09697

Please sign in to comment.