summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-01-09 13:28:45 -0500
committerTavian Barnes <tavianator@tavianator.com>2024-01-09 13:29:22 -0500
commit7551c54b3dcab961aee5e38d6cbef49cced27f6e (patch)
treef2f5336322853eeff86782b4c7e45ac3dbfd2bca
parent4010140cb748cc4f7f57b0a3d514485796c665ce (diff)
downloadbfs-7551c54b3dcab961aee5e38d6cbef49cced27f6e.tar.xz
build: Define _POSIX_PTHREAD_SEMANTICS for illumos
Needed for the POSIX-compliant version of some interfaces. Link: https://illumos.org/man/3C/getpwnam
-rw-r--r--GNUmakefile1
1 files changed, 1 insertions, 0 deletions
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)\"