summaryrefslogtreecommitdiff
path: root/vms
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2009-02-20 17:37:47 -0600
committerCraig A. Berry <craigberry@mac.com>2009-02-20 17:37:47 -0600
commit58472d87a6411bd16d06056451ba52c7e4c8af54 (patch)
treedf037ecea3ecc7e50c885bc25f3679ae4c4ef60a /vms
parent73aec0b1ca3a8f9cc9e8876daf42d8fbbee360a0 (diff)
downloadperl-58472d87a6411bd16d06056451ba52c7e4c8af54.tar.gz
Move redefinition of lstat above its first use in vms/vms.c.
Diffstat (limited to 'vms')
-rw-r--r--vms/vms.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/vms/vms.c b/vms/vms.c
index b970bf7dff..5a96c67825 100644
--- a/vms/vms.c
+++ b/vms/vms.c
@@ -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)
{