diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2016-10-03 15:10:58 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2016-10-04 05:03:15 -0400 |
commit | 0f38b391dca1858da13bb533b7df56edf8dc372f (patch) | |
tree | 8172fc3b53b7794b201dcde84227644fae8b2054 /src/sys-endian.h | |
parent | ebbd639029e2c90e58187d525000c759615daff1 (diff) | |
download | lighttpd-git-0f38b391dca1858da13bb533b7df56edf8dc372f.tar.gz |
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
Diffstat (limited to 'src/sys-endian.h')
-rw-r--r-- | src/sys-endian.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys-endian.h b/src/sys-endian.h index fb5975cf..7fa28eea 100644 --- a/src/sys-endian.h +++ b/src/sys-endian.h @@ -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 |