Fix typo in meson.build (#2070)

This commit is contained in:
Florian Albrechtskirchinger authored and GitHub committed 2025-02-19 16:20:44 -05:00
1 parent 2b5d1eea8d
commit 5c0135fa5d
1 file changed
+1 -1
+1 -1
View File
@@ -31,7 +31,7 @@ endif
if cxx.has_function('poll', prefix: '#include <poll.h>') if cxx.has_function('poll', prefix: '#include <poll.h>')
# Use poll if present # Use poll if present
add_project_arguments('-DCPPHTTPLIB_USE_POLL', language: 'cpp') 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 # Use select otherwise
add_project_arguments('-DCPPHTTPLIB_USE_SELECT', language: 'cpp') add_project_arguments('-DCPPHTTPLIB_USE_SELECT', language: 'cpp')
endif endif