Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing build on macOS 10.13 #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions apfsfuse/ApfsFuse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,58 @@
#include <sys/stat.h>
#include <sys/types.h>

#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 <ApfsLib/ApfsContainer.h>
#include <ApfsLib/ApfsVolume.h>
#include <ApfsLib/ApfsDir.h>
Expand Down