From: Richard M. Stallman Date: Thu, 23 Feb 1995 07:43:50 +0000 (+0000) Subject: Test __VMS_POSIX as well as VMS. X-Git-Tag: GNU_ORIG~59 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/fcca25ad3cb7b800a5dddeaafb1743fc273cdb61 Test __VMS_POSIX as well as VMS. --- diff --git a/src/files.c b/src/files.c index e9a28f7d..020111f5 100644 --- a/src/files.c +++ b/src/files.c @@ -18,7 +18,7 @@ along with Bison; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -#ifdef VMS +#if defined (VMS) & !defined (__VMS_POSIX) #include #define unlink delete #ifndef XPFILE @@ -108,7 +108,7 @@ openfiles() int base_length; int short_base_length; -#ifdef VMS +#if defined (VMS) & !defined (__VMS_POSIX) char *tmp_base = "sys$scratch:b_"; #else char *tmp_base = "/tmp/b."; @@ -373,7 +373,7 @@ int k; } } -#ifdef VMS +#if defined (VMS) & !defined (__VMS_POSIX) if (faction) delete(actfile); if (fattrs) @@ -390,5 +390,5 @@ int k; if (tmpdefsfile) unlink(tmpdefsfile); #endif /* MSDOS */ exit(k); -#endif /* not VMS */ +#endif /* not VMS, or __VMS_POSIX */ }