diff --git libarchive/test/test_entry.c libarchive/test/test_entry.c
index f205764..33cefe4 100644
|
|
DEFINE_TEST(test_entry) |
426 | 426 | #endif |
427 | 427 | |
428 | 428 | #if defined(__FreeBSD__) || defined(__APPLE__) |
| 429 | #ifndef UF_HIDDEN |
| 430 | #define UF_HIDDEN 0x00008000 |
| 431 | #endif |
429 | 432 | /* Test archive_entry_copy_fflags_text_w() */ |
430 | 433 | archive_entry_copy_fflags_text_w(e, L" ,nouappnd, nouchg, dump,hidden"); |
431 | 434 | archive_entry_fflags(e, &set, &clear); |
diff --git tar/test/test_option_acls.c tar/test/test_option_acls.c
index f7451c8..de9b9b0 100644
|
|
static const acl_perm_t acl_perms[] = { |
43 | 43 | ACL_WRITE_EXTATTRIBUTES, |
44 | 44 | ACL_READ_SECURITY, |
45 | 45 | ACL_WRITE_SECURITY, |
| 46 | #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1050 |
46 | 47 | ACL_CHANGE_OWNER, |
47 | 48 | ACL_SYNCHRONIZE |
| 49 | #else |
| 50 | ACL_CHANGE_OWNER |
| 51 | #endif |
48 | 52 | #else /* !ARCHIVE_ACL_DARWIN */ |
49 | 53 | ACL_EXECUTE, |
50 | 54 | ACL_WRITE, |