[master] 16ef0e60c Ifdef on __APPLE__ instead of __DARWIN_BYTE_ORDER

Poul-Henning Kamp phk at FreeBSD.org
Tue Jun 17 12:42:04 UTC 2025


commit 16ef0e60cb4caa214fe13f39fd96dd910a796519
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Jun 17 12:37:14 2025 +0000

    Ifdef on __APPLE__ instead of __DARWIN_BYTE_ORDER

diff --git a/lib/libvarnish/vsha256.c b/lib/libvarnish/vsha256.c
index 29f97fe40..9af3b3039 100644
--- a/lib/libvarnish/vsha256.c
+++ b/lib/libvarnish/vsha256.c
@@ -31,7 +31,7 @@
 
 #include "config.h"
 
-#ifndef __DARWIN_BYTE_ORDER
+#ifndef __APPLE__
 #  include <endian.h>
 #  ifdef _BYTE_ORDER
 #    define VBYTE_ORDER	_BYTE_ORDER


More information about the varnish-commit mailing list