GS: Fix warning spam in macOS

This commit is contained in:
TellowKrinkle 2021-05-13 03:22:48 -05:00 committed by Kojin
parent 08419440f1
commit fec12819fa
1 changed files with 5 additions and 0 deletions

View File

@ -361,6 +361,11 @@ extern const std::string root_hw;
# define CONSTINIT
#endif
// MacOS headers define PAGE_SIZE to the size of an x86 page
#ifdef PAGE_SIZE
# undef PAGE_SIZE
#endif
#define VM_SIZE 4194304u
#define HALF_VM_SIZE (VM_SIZE / 2u)
#define PAGE_SIZE 8192u