DolphinAnalytics: Use #ifdef instead of #if for platform testing

This commit is contained in:
Lioncash 2024-01-23 16:51:31 -05:00
parent 4ccc5178a6
commit 258161bab7
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ void DolphinAnalytics::MakeBaseBuilder()
}; };
// Under arm64, we need to call objc_msgSend to recieve a struct. // Under arm64, we need to call objc_msgSend to recieve a struct.
// On x86_64, we need to explicitly call objc_msgSend_stret for a struct. // On x86_64, we need to explicitly call objc_msgSend_stret for a struct.
#if _M_ARM_64 #ifdef _M_ARM_64
#define msgSend objc_msgSend #define msgSend objc_msgSend
#else #else
#define msgSend objc_msgSend_stret #define msgSend objc_msgSend_stret