mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 9.0.1381: ACCESS_ names have a conflict with on some systems
Problem: ACCESS_ names have a conflict with on some systems. Solution: Rename by prepending VIM_. (Ola Söder, closes #12105)
This commit is contained in:
committed by
Bram Moolenaar
parent
5fb78c3fa5
commit
d8742476d1
@@ -1576,11 +1576,11 @@ get_lval(
|
||||
{
|
||||
switch (om->ocm_access)
|
||||
{
|
||||
case ACCESS_PRIVATE:
|
||||
case VIM_ACCESS_PRIVATE:
|
||||
semsg(_(e_cannot_access_private_member_str),
|
||||
om->ocm_name);
|
||||
return NULL;
|
||||
case ACCESS_READ:
|
||||
case VIM_ACCESS_READ:
|
||||
if ((flags & GLV_READ_ONLY) == 0)
|
||||
{
|
||||
semsg(_(e_member_is_not_writable_str),
|
||||
@@ -1588,7 +1588,7 @@ get_lval(
|
||||
return NULL;
|
||||
}
|
||||
break;
|
||||
case ACCESS_ALL:
|
||||
case VIM_ACCESS_ALL:
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user