Skip to content

Commit

Permalink
fix(makefile): Do not define HAVE_PTHREADS if pthread is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
r10nw7fd3 authored and jwerle committed Apr 1, 2024
1 parent 99a5d33 commit 085e77b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ endif

ifneq (0,$(PTHREADS))
ifndef NO_PTHREADS
CFLAGS += $(shell ./scripts/feature-test-pthreads && echo "-DHAVE_PTHREADS=1 -pthread" || echo "-DHAVE_PTHREADS=0")
CFLAGS += $(shell ./scripts/feature-test-pthreads && echo "-DHAVE_PTHREADS=1 -pthread")
endif
endif

Expand Down

0 comments on commit 085e77b

Please sign in to comment.