Skip to content

Commit

Permalink
Add makefile define so that pthread_threadid_np is found in pthread.h…
Browse files Browse the repository at this point in the history
… (MacOS)
  • Loading branch information
jkelley authored and deemar committed Mar 10, 2021
1 parent 94f4aa6 commit cd40f93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cd40f93

Please sign in to comment.