From ee31066ac7442f57157199d2013f5acd55ccaf93 Mon Sep 17 00:00:00 2001 From: Daniel Lemper Date: Mon, 22 Oct 2018 18:23:31 +0200 Subject: [PATCH] fixing build on macOS 10.13 --- apfsfuse/ApfsFuse.cpp | 52 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/apfsfuse/ApfsFuse.cpp b/apfsfuse/ApfsFuse.cpp index 31f9bf0..bfc13f6 100644 --- a/apfsfuse/ApfsFuse.cpp +++ b/apfsfuse/ApfsFuse.cpp @@ -34,6 +34,58 @@ #include #include +#ifdef UF_NODUMP +#undef UF_NODUMP +#endif + +#ifdef UF_IMMUTABLE +#undef UF_IMMUTABLE +#endif + +#ifdef UF_APPEND +#undef UF_APPEND +#endif + +#ifdef UF_OPAQUE +#undef UF_OPAQUE +#endif + +#ifdef UF_COMPRESSED +#undef UF_COMPRESSED +#endif + +#ifdef UF_TRACKED +#undef UF_TRACKED +#endif + +#ifdef UF_DATAVAULT +#undef UF_DATAVAULT +#endif + +#ifdef UF_HIDDEN +#undef UF_HIDDEN +#endif + +#ifdef SF_ARCHIVED +#undef SF_ARCHIVED +#endif + +#ifdef SF_IMMUTABLE +#undef SF_IMMUTABLE +#endif + +#ifdef SF_APPEND +#undef SF_APPEND +#endif + +#ifdef SF_RESTRICTED +#undef SF_RESTRICTED +#endif + +#ifdef SF_NOUNLINK +#undef SF_NOUNLINK +#endif + #include #include #include