summaryrefslogtreecommitdiff
path: root/src/filelock.c
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-01-11 00:51:53 +0000
committerPo Lu <luangruo@yahoo.com>2022-01-11 00:51:53 +0000
commitc060e374a15b54ce7861896602961330f9aa58c6 (patch)
tree1cf279a92d07f371201af4827761f43f3387d0e1 /src/filelock.c
parent5705644810d8fd32fb5a97536ff64cda9446a305 (diff)
downloademacs-c060e374a15b54ce7861896602961330f9aa58c6.tar.gz
* src/filelock.c (lock_if_free): Fix Haiku positive errno check.
Diffstat (limited to 'src/filelock.c')
-rw-r--r--src/filelock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filelock.c b/src/filelock.c
index c3927f58fae..3555cfc2519 100644
--- a/src/filelock.c
+++ b/src/filelock.c
@@ -617,7 +617,7 @@ lock_if_free (lock_info_type *clasher, char *lfname)
}
#if !defined HAIKU \
- || defined BE_USE_POSITIVE_POSIX_ERRORS
+ || defined B_USE_POSITIVE_POSIX_ERRORS
return err;
#else
/* On Haiku, POSIX errno values are negative by default, but this