Browse Source

Applied DragonFly BSD patch

https://raw.githubusercontent.com/DragonFlyBSD/DeltaPorts/master/ports/devel/sdl20/dragonfly/patch-include_SDL__endian.h
Sam Lantinga 2 years ago
parent
commit
ce5a23bd57
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/SDL_endian.h

+ 1 - 1
include/SDL_endian.h

@@ -59,7 +59,7 @@ _m_prefetch(void *__P)
 #ifdef __linux__
 #include <endian.h>
 #define SDL_BYTEORDER  __BYTE_ORDER
-#elif defined(__OpenBSD__)
+#elif defined(__OpenBSD__) || defined(__DragonFly__)
 #include <endian.h>
 #define SDL_BYTEORDER  BYTE_ORDER
 #elif defined(__FreeBSD__) || defined(__NetBSD__)