소스 검색

Fix typo in meson.build (#2070)

Florian Albrechtskirchinger 11 달 전
부모
커밋
5c0135fa5d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      meson.build

+ 1 - 1
meson.build

@@ -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