mirror of
https://github.com/HardySimpson/zlog
synced 2025-03-28 21:13:21 +00:00
Add makefile define so that pthread_threadid_np is found in pthread.h (MacOS)
This commit is contained in:
parent
94f4aa6f79
commit
cd40f93b2c
@ -71,6 +71,7 @@ ifneq ($(compiler_platform),)
|
||||
DYLIB_MINOR_NAME=$(LIBNAME).$(ZLOG_MAJOR).$(ZLOG_MINOR).$(DYLIBSUFFIX)
|
||||
DYLIB_MAJOR_NAME=$(LIBNAME).$(ZLOG_MAJOR).$(DYLIBSUFFIX)
|
||||
DYLIB_MAKE_CMD=$(CC) -dynamiclib -install_name $(INSTALL_LIBRARY_PATH)/$(DYLIB_MINOR_NAME) -o $(DYLIBNAME) $(LDFLAGS)
|
||||
REAL_CFLAGS+= -D_DARWIN_C_SOURCE
|
||||
endif
|
||||
|
||||
ifeq ($(uname_S),AIX)
|
||||
|
Loading…
x
Reference in New Issue
Block a user