summaryrefslogtreecommitdiff
path: root/vms/vmsish.h
diff options
context:
space:
mode:
authorJohn E. Malmberg <wb8tyw@qsl.net>2006-03-20 03:12:19 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-03-21 10:49:14 +0000
commit704c2eb32539845568269483e091b89ae0793748 (patch)
tree14e5f17e36a339721201f91634cd168a3ae39b13 /vms/vmsish.h
parent7e7a3dfc0d3c74b10a066568a904a5a10013d5e4 (diff)
downloadperl-704c2eb32539845568269483e091b89ae0793748.tar.gz
[patch@27538] utime patch for VMS
From: "John E. Malmberg" <wb8tyw@qsl.net> Message-ID: <441EAA33.6010603@qsl.net> p4raw-id: //depot/perl@27561
Diffstat (limited to 'vms/vmsish.h')
-rw-r--r--vms/vmsish.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/vms/vmsish.h b/vms/vmsish.h
index 2c8bacecd3..6dc97a4be2 100644
--- a/vms/vmsish.h
+++ b/vms/vmsish.h
@@ -464,12 +464,18 @@ struct interp_intern {
# include <signal.h>
#define ABORT() abort()
+#ifdef I_UTIME
+#include <utime.h>
+#else
/* Used with our my_utime() routine in vms.c */
struct utimbuf {
time_t actime;
time_t modtime;
};
+#endif
+#ifndef DONT_MASK_RTL_CALLS
#define utime my_utime
+#endif
/* This is what times() returns, but <times.h> calls it tbuffer_t on VMS
* prior to v7.0. We check the DECC manifest to see whether it's already