summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorGravatar liamwhite2022-08-21 12:59:01 -0400
committerGravatar GitHub2022-08-21 12:59:01 -0400
commit064f836d1c4f6de7d7c100b4aff700bf66448e22 (patch)
tree7f087cacbde745c7d64f205618b80624c8599074 /src/common
parentMerge pull request #8790 from liamwhite/too-many-ways-to-name-a-byte-string (diff)
parentcode: dodge PAGE_SIZE #define (diff)
downloadyuzu-064f836d1c4f6de7d7c100b4aff700bf66448e22.tar.gz
yuzu-064f836d1c4f6de7d7c100b4aff700bf66448e22.tar.xz
yuzu-064f836d1c4f6de7d7c100b4aff700bf66448e22.zip
Merge pull request #8784 from Docteh/nosnek
code: dodge PAGE_SIZE #define
Diffstat (limited to 'src/common')
-rw-r--r--src/common/microprofile.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/common/microprofile.h b/src/common/microprofile.h
index 91d14d5e1..56ef0a2dc 100644
--- a/src/common/microprofile.h
+++ b/src/common/microprofile.h
@@ -22,12 +22,3 @@ typedef void* HANDLE;
22#include <microprofile.h> 22#include <microprofile.h>
23 23
24#define MP_RGB(r, g, b) ((r) << 16 | (g) << 8 | (b) << 0) 24#define MP_RGB(r, g, b) ((r) << 16 | (g) << 8 | (b) << 0)
25
26// On OS X, some Mach header included by MicroProfile defines these as macros, conflicting with
27// identifiers we use.
28#ifdef PAGE_SIZE
29#undef PAGE_SIZE
30#endif
31#ifdef PAGE_MASK
32#undef PAGE_MASK
33#endif