Fix -Wundef warnings due to use of unguarded SDL_LSX_INTRINSICS

This commit is contained in:
Anonymous Maarten
2023-03-27 16:16:35 +02:00
parent b4873463dc
commit 6dd0a5665e
2 changed files with 2 additions and 2 deletions

View File

@@ -422,7 +422,7 @@ static SDL_bool yuv_rgb_sse(
}
#endif
#if SDL_LSX_INTRINSICS
#ifdef SDL_LSX_INTRINSICS
static SDL_bool yuv_rgb_lsx(
Uint32 src_format, Uint32 dst_format,
Uint32 width, Uint32 height,

View File

@@ -684,7 +684,7 @@ void SDL_TARGETING("sse2") rgb24_yuv420_sseu(uint32_t width, uint32_t height,
#endif //SDL_SSE2_INTRINSICS
#if SDL_LSX_INTRINSICS
#ifdef SDL_LSX_INTRINSICS
#define LSX_FUNCTION_NAME yuv420_rgb24_lsx
#define STD_FUNCTION_NAME yuv420_rgb24_std