Code

remove perl 5.004 compatibility hack and make things work on newer perls in exchange :-)
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 17 Jan 2012 06:53:29 +0000 (06:53 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 17 Jan 2012 06:53:29 +0000 (06:53 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2258 a5681a0c-68f1-0310-ab6d-d61299d08faa

bindings/perl-shared/RRDs.xs

index 7c75f027dfe9ab65978648637e129dce0cce7752..252018f53b2942d2f25583375fe7b086c54c310a 100644 (file)
@@ -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";\