mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-14 16:58:30 +00:00
Make poll() the default (#2065)
* Make poll() the default select() can still be enabled by defining CPPHTTPLIB_USE_SELECT. * Run tests with select() and poll()
This commit is contained in:
parent
cdc223019a
commit
6e73a63153
6 changed files with 57 additions and 8 deletions
|
@ -1,6 +1,10 @@
|
|||
CXX = clang++
|
||||
CXXFLAGS = -g -std=c++11 -I. -Wall -Wextra -Wtype-limits -Wconversion -Wshadow # -fno-exceptions -DCPPHTTPLIB_NO_EXCEPTIONS -fsanitize=address
|
||||
|
||||
ifeq ($(SELECT_IMPL),select)
|
||||
CXXFLAGS += -DCPPHTTPLIB_USE_SELECT
|
||||
endif
|
||||
|
||||
PREFIX ?= $(shell brew --prefix)
|
||||
|
||||
OPENSSL_DIR = $(PREFIX)/opt/openssl@3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue