aboutsummaryrefslogtreecommitdiff
path: root/src/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/macros.h b/src/macros.h
index 8068a3d1f9..8dd412f838 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -94,10 +94,6 @@
*/
#define vim_isbreak(c) (breakat_flags[(char_u)(c)])
-/*
- * On VMS file names are different and require a translation.
- * On the Mac open() has only two arguments.
- */
# define mch_fopen(n, p) fopen((n), (p))
# define mch_fstat(n, p) fstat((n), (p))
# ifdef STAT_IGNORES_SLASH
@@ -117,7 +113,7 @@
# define mch_open(n, m, p) open((n), (m), (p))
/* mch_open_rw(): invoke mch_open() with third argument for user R/W. */
-#if defined(UNIX) || defined(VMS) /* open in rw------- mode */
+#if defined(UNIX) /* open in rw------- mode */
# define mch_open_rw(n, f) mch_open((n), (f), (mode_t)0600)
#else
# define mch_open_rw(n, f) mch_open((n), (f), 0)