Fix build with Perl 5.26.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2018-03-28 16:52:58 +00:00
parent 8ca44828b2
commit e3cfe61ef4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465820

View File

@ -0,0 +1,14 @@
--- hpt/src/perl.c.orig 2018-03-28 16:01:18 UTC
+++ hpt/src/perl.c
@@ -109,9 +109,9 @@ extern "C" {
# define min(a, b) ((a) < (b) ? (a) : (b))
#endif
-#ifdef __GNUC__
+/*#ifdef __GNUC__
# define Perl___notused Perl___notused __attribute__ ((unused))
-#endif
+#endif*/
#ifndef LL_PERL
# define LL_PERL LL_EXEC