diff options
author | Craig A. Berry <craigberry@mac.com> | 2009-02-20 17:37:47 -0600 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2009-02-20 17:37:47 -0600 |
commit | 58472d87a6411bd16d06056451ba52c7e4c8af54 (patch) | |
tree | df037ecea3ecc7e50c885bc25f3679ae4c4ef60a /vms | |
parent | 73aec0b1ca3a8f9cc9e8876daf42d8fbbee360a0 (diff) | |
download | perl-58472d87a6411bd16d06056451ba52c7e4c8af54.tar.gz |
Move redefinition of lstat above its first use in vms/vms.c.
Diffstat (limited to 'vms')
-rw-r--r-- | vms/vms.c | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -219,6 +219,17 @@ return 0; # define RTL_USES_UTC 1 #endif +#if !defined(__VAX) && __CRTL_VER >= 80200000 +#ifdef lstat +#undef lstat +#endif +#else +#ifdef lstat +#undef lstat +#endif +#define lstat(_x, _y) stat(_x, _y) +#endif + /* Routine to create a decterm for use with the Perl debugger */ /* No headers, this information was found in the Programming Concepts Manual */ @@ -12782,17 +12793,6 @@ Perl_flex_fstat(pTHX_ int fd, Stat_t *statbufp) } /* end of flex_fstat() */ /*}}}*/ -#if !defined(__VAX) && __CRTL_VER >= 80200000 -#ifdef lstat -#undef lstat -#endif -#else -#ifdef lstat -#undef lstat -#endif -#define lstat(_x, _y) stat(_x, _y) -#endif - static int Perl_flex_stat_int(pTHX_ const char *fspec, Stat_t *statbufp, int lstat_flag) { |