aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/macros.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-07-14 09:06:36 -0400
committerJustin M. Keyes <justinkz@gmail.com>2014-07-14 09:06:36 -0400
commitf693b4043d29ec21d990661450cdbd353da0e036 (patch)
tree4e06241295ab8e32358a06eff245431daae52d24 /src/nvim/macros.h
parentbf6b0e3c0aa34beca13eee898decdf0fcde8b502 (diff)
parent0ceebc2c913cc497735e001772cb6b395c36cecc (diff)
downloadrneovim-f693b4043d29ec21d990661450cdbd353da0e036.tar.gz
rneovim-f693b4043d29ec21d990661450cdbd353da0e036.tar.bz2
rneovim-f693b4043d29ec21d990661450cdbd353da0e036.zip
Merge #846 'impl mch_open with libuv'
Diffstat (limited to 'src/nvim/macros.h')
-rw-r--r--src/nvim/macros.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nvim/macros.h b/src/nvim/macros.h
index fab4f548c8..bff19f17dd 100644
--- a/src/nvim/macros.h
+++ b/src/nvim/macros.h
@@ -108,13 +108,12 @@
#endif
# define mch_fopen(n, p) fopen((n), (p))
-# define mch_open(n, m, p) open((n), (m), (p))
-/* mch_open_rw(): invoke mch_open() with third argument for user R/W. */
+/* mch_open_rw(): invoke os_open() with third argument for user R/W. */
#if defined(UNIX) /* open in rw------- mode */
-# define mch_open_rw(n, f) mch_open((n), (f), (mode_t)0600)
+# define mch_open_rw(n, f) os_open((n), (f), (mode_t)0600)
#else
-# define mch_open_rw(n, f) mch_open((n), (f), 0)
+# define mch_open_rw(n, f) os_open((n), (f), 0)
#endif
#ifdef STARTUPTIME