summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-07-02 22:56:09 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-02 22:56:09 +0000
commit6cde8aec263d8ab48123df551ae6f5c9239498de (patch)
tree0079558fde2aa6ae5a17629d94c770c1a7b959ae /perl.h
parent51bd16da02fd2d9228605a3672c5bc91eaddf57b (diff)
downloadperl-6cde8aec263d8ab48123df551ae6f5c9239498de.tar.gz
(Replaced by #11124) UTS workaround from Hal Morris.
p4raw-id: //depot/perl@11113
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 27393f669e..8b3c485917 100644
--- a/perl.h
+++ b/perl.h
@@ -1131,6 +1131,11 @@ typedef UVTYPE UV;
# endif
#endif
+#if defined(uts) || defined(UTS)
+# undef UV_MAX
+# define UV_MAX (4294967295u)
+#endif
+
/*
I've tracked down a weird bug in Perl5.6.1 to the UTS compiler's
mishandling of MY_UV_MAX in util.c. It is defined as