Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SDL_endian.h: Use endian.h for OpenBSD.
Patch from OpenBSD CVS, authored by Donovan Watteau.
  • Loading branch information
sezero committed Oct 21, 2019
1 parent 7d98f6c commit 9c7648d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/SDL_endian.h
Expand Up @@ -42,7 +42,10 @@
#ifdef __linux__
#include <endian.h>
#define SDL_BYTEORDER __BYTE_ORDER
#else /* __linux __ */
#elif defined(__OpenBSD__)
#include <endian.h>
#define SDL_BYTEORDER BYTE_ORDER
#else
#if defined(__hppa__) || \
defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
(defined(__MIPS__) && defined(__MIPSEB__)) || \
Expand Down

0 comments on commit 9c7648d

Please sign in to comment.