diff options
Diffstat (limited to 'vcpkg/ports/proxygen/folly-has-liburing.diff')
| -rw-r--r-- | vcpkg/ports/proxygen/folly-has-liburing.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/proxygen/folly-has-liburing.diff b/vcpkg/ports/proxygen/folly-has-liburing.diff new file mode 100644 index 0000000..610a977 --- /dev/null +++ b/vcpkg/ports/proxygen/folly-has-liburing.diff @@ -0,0 +1,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"); |