From: Charles Bailey Date: Mon, 23 Aug 1999 03:30:01 +0000 (+0000) Subject: Fix prototypes in perlapi.c (64-bit?) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=19c10e8f35fdb25560bcde71773a173ab954309f;p=p5sagit%2Fp5-mst-13.2.git Fix prototypes in perlapi.c (64-bit?) Clear prior definition of getenv_len before defining VMS-specific macro p4raw-id: //depot/vmsperl@4026 --- diff --git a/perlapi.c b/perlapi.c index 192428b..d0c7f33 100755 --- a/perlapi.c +++ b/perlapi.c @@ -3492,14 +3492,14 @@ Perl_scalarvoid(pTHXo_ OP* o) } #undef Perl_scan_bin -UV +NV Perl_scan_bin(pTHXo_ char* start, I32 len, I32* retlen) { return ((CPerlObj*)pPerl)->Perl_scan_bin(start, len, retlen); } #undef Perl_scan_hex -UV +NV Perl_scan_hex(pTHXo_ char* start, I32 len, I32* retlen) { return ((CPerlObj*)pPerl)->Perl_scan_hex(start, len, retlen); @@ -3513,7 +3513,7 @@ Perl_scan_num(pTHXo_ char* s) } #undef Perl_scan_oct -UV +NV Perl_scan_oct(pTHXo_ char* start, I32 len, I32* retlen) { return ((CPerlObj*)pPerl)->Perl_scan_oct(start, len, retlen); diff --git a/vms/vmsish.h b/vms/vmsish.h index 17aac8a..261a506 100644 --- a/vms/vmsish.h +++ b/vms/vmsish.h @@ -75,6 +75,9 @@ /* getenv used for regular logical names */ # define getenv(v) my_getenv(v,TRUE) #endif +#ifdef getenv_len +# undef getenv_len +#endif #define getenv_len(v,l) my_getenv_len(v,l,TRUE) /* DECC introduces this routine in the RTL as of VMS 7.0; for now,