SDL: Go back to using compiler built-in macros in ARM assembly code

From f61870cfb45527a9d5f14406abad29d6ccfd57a0 Mon Sep 17 00:00:00 2001
From: Simon McVittie <[EMAIL REDACTED]>
Date: Wed, 24 Jan 2024 10:38:48 +0000
Subject: [PATCH] Go back to using compiler built-in macros in ARM assembly
 code

These files don't #include SDL headers, so SDL-specific macros will
never be defined here.

This partially reverts commit 31d133db.

Fixes: 31d133db "Define SDL_PLATFORM_* macros instead of underscored ones (#8875)"
Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 src/video/arm/pixman-arm-neon-asm.S | 2 +-
 src/video/arm/pixman-arm-simd-asm.S | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/video/arm/pixman-arm-neon-asm.S b/src/video/arm/pixman-arm-neon-asm.S
index 0df7f5a959d6..f9549621acbd 100644
--- a/src/video/arm/pixman-arm-neon-asm.S
+++ b/src/video/arm/pixman-arm-neon-asm.S
@@ -44,7 +44,7 @@
  */
 
 /* Prevent the stack from becoming executable for no reason... */
-#if defined(SDL_PLATFORM_LINUX) && defined(__ELF__)
+#if defined(__linux__) && defined(__ELF__)
 .section .note.GNU-stack,"",%progbits
 #endif
 
diff --git a/src/video/arm/pixman-arm-simd-asm.S b/src/video/arm/pixman-arm-simd-asm.S
index 57d246a84475..57449c5f3798 100644
--- a/src/video/arm/pixman-arm-simd-asm.S
+++ b/src/video/arm/pixman-arm-simd-asm.S
@@ -19,7 +19,7 @@
  */
 
 /* Prevent the stack from becoming executable */
-#if defined(SDL_PLATFORM_LINUX) && defined(__ELF__)
+#if defined(__linux__) && defined(__ELF__)
 .section .note.GNU-stack,"",%progbits
 #endif