This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlapi: Add markup
[perl5.git] / perl.h
diff --git a/perl.h b/perl.h
index 28fcd0b..f69da26 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -3825,7 +3825,7 @@ intrinsic function, see its documents for more details.
 #  endif
 #endif
 
-#if defined(__sun)
+#if defined(__sun) || (defined(__hpux) && !defined(__GNUC__))
 #  ifndef ASSUME
 #    define ASSUME(x)      /* ASSUME() generates warnings on Solaris */
 #  endif