Skip to content

Commit

Permalink
[ld64] Fix undefined macro PAGE_MASK on some systems
Browse files Browse the repository at this point in the history
  • Loading branch information
disigma committed Jun 19, 2024
1 parent e85c73f commit c783b74
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ld64/port/configure.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ __END_DECLS
#endif // qsort_r
#define qsort_r(...) ld64_qsort_r(__VA_ARGS__)

#ifndef PAGE_MASK
#define PAGE_MASK 0xFFFFF000UL
#endif // PAGE_MASK

#endif // __APPLE__

#endif // LD64_CONFIGURE_H_

0 comments on commit c783b74

Please sign in to comment.