From: oetiker Date: Tue, 17 Jan 2012 06:53:29 +0000 (+0000) Subject: remove perl 5.004 compatibility hack and make things work on newer perls in exchange :-) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a9ff1e3241e05641dcc7cc4fbbc75eb214f3647d;p=rrdtool-all.git remove perl 5.004 compatibility hack and make things work on newer perls in exchange :-) git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@2258 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/bindings/perl-shared/RRDs.xs b/program/bindings/perl-shared/RRDs.xs index 7c75f027..252018f5 100644 --- a/program/bindings/perl-shared/RRDs.xs +++ b/program/bindings/perl-shared/RRDs.xs @@ -32,12 +32,6 @@ extern "C" { #define VERSION VERSION_SAVED #undef VERSION_SAVED -/* perl 5.004 compatibility */ -#ifndef PL_sv_undef -#define PL_sv_undef sv_undef -#endif - - #define rrdcode(name) \ argv = (char **) malloc((items+1)*sizeof(char *));\ argv[0] = "dummy";\