From 7551c54b3dcab961aee5e38d6cbef49cced27f6e Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 9 Jan 2024 13:28:45 -0500 Subject: build: Define _POSIX_PTHREAD_SEMANTICS for illumos Needed for the POSIX-compliant version of some interfaces. Link: https://illumos.org/man/3C/getpwnam --- GNUmakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/GNUmakefile b/GNUmakefile index 7680cb3..a0719a2 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -53,6 +53,7 @@ LOCAL_CPPFLAGS := \ -D_DEFAULT_SOURCE \ -D_GNU_SOURCE \ -D_LARGEFILE64_SOURCE \ + -D_POSIX_PTHREAD_SEMANTICS \ -D_FILE_OFFSET_BITS=64 \ -D_TIME_BITS=64 \ -DBFS_VERSION=\"$(VERSION)\" -- cgit v1.2.3