summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorTomasz Konojacki <me@xenu.pl>2019-11-09 02:26:38 +0100
committerKarl Williamson <khw@cpan.org>2019-11-08 22:11:08 -0700
commit6484c45ed9f6c1e57f882ccebd50923e2bc80397 (patch)
treedaecd5a7bb9917829a62ed6e5fec447186fcaf35 /dist
parentc40875b79d69b9e963650c833a9d66f2fe6bbe0d (diff)
downloadperl-6484c45ed9f6c1e57f882ccebd50923e2bc80397.tar.gz
UTF8_CHK_SKIP uses MIN() too
This fixes compilation with Visual C++
Diffstat (limited to 'dist')
-rw-r--r--dist/Devel-PPPort/parts/inc/utf83
1 files changed, 2 insertions, 1 deletions
diff --git a/dist/Devel-PPPort/parts/inc/utf8 b/dist/Devel-PPPort/parts/inc/utf8
index a0d45d46ef..108fa3d1bc 100644
--- a/dist/Devel-PPPort/parts/inc/utf8
+++ b/dist/Devel-PPPort/parts/inc/utf8
@@ -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) \