aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/proxygen/folly-has-liburing.diff
blob: 610a977c2e6c09e20855ac9b6d2bc93e639c1332 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/proxygen/lib/services/WorkerThread.cpp b/proxygen/lib/services/WorkerThread.cpp
index 3c422db..c4a05fa 100644
--- a/proxygen/lib/services/WorkerThread.cpp
+++ b/proxygen/lib/services/WorkerThread.cpp
@@ -17,7 +17,7 @@
 #include <glog/logging.h>
 #include <signal.h>
 
-#if !FOLLY_MOBILE && __has_include(<liburing.h>)
+#if !FOLLY_MOBILE && FOLLY_HAS_LIBURING
 
 DEFINE_int32(pwt_io_uring_capacity, -1, "io_uring backend capacity");
 DEFINE_int32(pwt_io_uring_max_submit, 128, "io_uring backend max submit");