aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/macros.h
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-09-10 19:10:29 +0200
committerGitHub <noreply@github.com>2023-09-10 19:10:29 +0200
commita03e00a3539ea995c69196aeb35d84912ead8c3f (patch)
tree2b51edf78bf7c8c62c05a70b67f3b9e7497c1b6e /src/nvim/macros.h
parent06d48f6aa65a6694f7850246f56f208f98dcc587 (diff)
parentbf36b0f8ec35281dd7e7e350d7d5d2810019d402 (diff)
downloadrneovim-a03e00a3539ea995c69196aeb35d84912ead8c3f.tar.gz
rneovim-a03e00a3539ea995c69196aeb35d84912ead8c3f.tar.bz2
rneovim-a03e00a3539ea995c69196aeb35d84912ead8c3f.zip
Merge pull request #24875 from bfredl/memfilemap
refactor(memfile): change mf_trans and mf_hash from ad-hoc hashtable to Map
Diffstat (limited to 'src/nvim/macros.h')
-rw-r--r--src/nvim/macros.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/nvim/macros.h b/src/nvim/macros.h
index 57cb298572..5eaf97ff87 100644
--- a/src/nvim/macros.h
+++ b/src/nvim/macros.h
@@ -82,15 +82,6 @@
#define READBIN "rb"
#define APPENDBIN "ab"
-// 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) os_open((n), (f), (mode_t)0600)
-#elif defined(MSWIN)
-# define MCH_OPEN_RW(n, f) os_open((n), (f), S_IREAD | S_IWRITE)
-#else
-# define MCH_OPEN_RW(n, f) os_open((n), (f), 0)
-#endif
-
#define REPLACE_NORMAL(s) (((s)& REPLACE_FLAG) && !((s)& VREPLACE_FLAG))
// MB_PTR_ADV(): advance a pointer to the next character, taking care of