From ce5a23bd57f0393d39c48a3cffcb90c24bc56dae Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 30 Jul 2022 16:32:21 -0700 Subject: [PATCH] Applied DragonFly BSD patch https://raw.githubusercontent.com/DragonFlyBSD/DeltaPorts/master/ports/devel/sdl20/dragonfly/patch-include_SDL__endian.h --- 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 11ea6c663..c3f84317f 100644 --- a/include/SDL_endian.h +++ b/include/SDL_endian.h @@ -59,7 +59,7 @@ _m_prefetch(void *__P) #ifdef __linux__ #include #define SDL_BYTEORDER __BYTE_ORDER -#elif defined(__OpenBSD__) +#elif defined(__OpenBSD__) || defined(__DragonFly__) #include #define SDL_BYTEORDER BYTE_ORDER #elif defined(__FreeBSD__) || defined(__NetBSD__)