Skip to content

Commit

Permalink
UTF8_CHK_SKIP uses MIN() too
Browse files Browse the repository at this point in the history
This fixes compilation with Visual C++
  • Loading branch information
xenu authored and khwilliamson committed Nov 9, 2019
1 parent c40875b commit 6484c45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dist/Devel-PPPort/parts/inc/utf8
Expand Up @@ -86,8 +86,9 @@ __UNDEF_NOT_PROVIDED__ UTF8_ALLOW_ANY ( UTF8_ALLOW_CONTINUATION \

#if defined UTF8SKIP

/* Don't use official version because it uses MIN, which may not be available */
/* Don't use official versions because they use MIN, which may not be available */
#undef UTF8_SAFE_SKIP
#undef UTF8_CHK_SKIP

__UNDEFINED__ UTF8_SAFE_SKIP(s, e) ( \
((((e) - (s)) <= 0) \
Expand Down

0 comments on commit 6484c45

Please sign in to comment.