diff --git a/src/video/arm/pixman-arm-neon-asm.S b/src/video/arm/pixman-arm-neon-asm.S index 0df7f5a95..f9549621a 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 57d246a84..57449c5f3 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