From 98f2e38b26abd6f6470546e19fb33106ae988359 Mon Sep 17 00:00:00 2001 From: nia Date: Sat, 12 Jun 2021 09:42:54 +0200 Subject: [PATCH] Use for endian detection on NetBSD Signed-off-by: Nia Alarie --- include/SDL_endian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_endian.h b/include/SDL_endian.h index 0a8e204a4..205b79357 100644 --- a/include/SDL_endian.h +++ b/include/SDL_endian.h @@ -65,7 +65,7 @@ _m_prefetch(void *__P) #elif defined(__OpenBSD__) #include #define SDL_BYTEORDER BYTE_ORDER -#elif defined(__FreeBSD__) +#elif defined(__FreeBSD__) || defined(__NetBSD__) #include #define SDL_BYTEORDER BYTE_ORDER #else