From df713c86d65324d48d6f3094fd3a12e3ca1066bf Mon Sep 17 00:00:00 2001 From: Martin Pärtel Date: Sun, 22 Mar 2020 16:34:25 +0200 Subject: Defined _DARWIN_BETTER_REALPATH to get a non-broken realpath() on Catalina (issue #83). --- src/bindfs.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/bindfs.c b/src/bindfs.c index 870a650..3ef87fb 100644 --- a/src/bindfs.c +++ b/src/bindfs.c @@ -42,6 +42,9 @@ /* The new non-deprecated version of _BSD_SOURCE */ #define _DEFAULT_SOURCE +/* Fix MacOS realpath() broken around Catalina (#83) */ +#define _DARWIN_BETTER_REALPATH + #include #include #include -- cgit v1.2.3