summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorLioncash <mai.iam2048@gmail.com>2024-01-23 16:47:40 -0500
committerLioncash <mai.iam2048@gmail.com>2024-01-23 16:47:43 -0500
commit4ccc5178a6eb8a29367d920200a17c5569b79f54 (patch)
tree6e181dbe92e1d95314ea00bddba7f44dd2b8a05c /Source
parentf695ae573084b4b2fa736737037e635f9c02f2c3 (diff)
PowerPC: Use #ifdef instead of #if for platform testing
This way we don't assume these symbols are always defined.
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/PowerPC/PowerPC.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Core/PowerPC/PowerPC.h b/Source/Core/Core/PowerPC/PowerPC.h
index c473f20fd0..c0611ae916 100644
--- a/Source/Core/Core/PowerPC/PowerPC.h
+++ b/Source/Core/Core/PowerPC/PowerPC.h
@@ -160,7 +160,7 @@ struct PowerPCState
// lscbx
u16 xer_stringctrl = 0;
-#if _M_X86_64
+#ifdef _M_X86_64
// This member exists only for the purpose of an assertion that its offset <= 0x100.
std::tuple<> above_fits_in_first_0x100;
@@ -234,7 +234,7 @@ struct PowerPCState
void UpdateFPRFSingle(float fvalue);
};
-#if _M_X86_64
+#ifdef _M_X86_64
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Winvalid-offsetof"