DragonFlyBSD defines __DragonFly__ (#2746)

DragonFlyBSD defines __DragonFly__, not __DragonflyBSD__

(thx xenu)

x-ref:
  "[PATCH] better DragonFlyBSD support; fix crash"
  https://redmine.lighttpd.net/issues/2746
personal/stbuehler/mod-csrf
Glenn Strauss 7 years ago
parent ebbd639029
commit 0f38b391dc

@ -53,7 +53,7 @@
#define __BIG_ENDIAN__ 1
#endif
#elif defined(__FreeBSD__) || defined(__NetBSD__) \
|| defined(__OpenBSD__) || defined(__DragonflyBSD__)
|| defined(__OpenBSD__) || defined(__DragonFly__)
#include <machine/endian.h>
#if _BYTE_ORDER == _LITTLE_ENDIAN
#define __LITTLE_ENDIAN__ 1

Loading…
Cancel
Save