Fix typo in meson.build

This commit is contained in:
Florian Albrechtskirchinger 2025-02-19 20:23:33 +01:00
parent 2b5d1eea8d
commit 060bf831ea
No known key found for this signature in database
GPG Key ID: 9C4E2AE92D3A9595

View File

@ -31,7 +31,7 @@ endif
if cxx.has_function('poll', prefix: '#include <poll.h>')
# Use poll if present
add_project_arguments('-DCPPHTTPLIB_USE_POLL', language: 'cpp')
else if cxx.has_function('select', prefix: '#include <sys/select.h>')
elif cxx.has_function('select', prefix: '#include <sys/select.h>')
# Use select otherwise
add_project_arguments('-DCPPHTTPLIB_USE_SELECT', language: 'cpp')
endif