zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit d8976dceb690a8d74fdc5752e16c50742cc36167 (tree)
parent 3e9eab0867624be87976914cf04827505ab66273
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Sat, 30 May 2026 21:38:26 +0200

zig.h: detect darwin using __APPLE__ instead of __MACH__

The latter applies to Hurd too.

Diffstat:
Mlib/zig.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/zig.h b/lib/zig.h @@ -100,7 +100,7 @@ #define zig_big_endian 1 #endif -#if defined(__MACH__) +#if defined(__APPLE__) #define zig_darwin #elif defined(__DragonFly__) #define zig_dragonfly