aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/fbthrift/folly-has-liburing.diff
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/fbthrift/folly-has-liburing.diff
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/fbthrift/folly-has-liburing.diff')
-rw-r--r--vcpkg/ports/fbthrift/folly-has-liburing.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/fbthrift/folly-has-liburing.diff b/vcpkg/ports/fbthrift/folly-has-liburing.diff
new file mode 100644
index 0000000..755a121
--- /dev/null
+++ b/vcpkg/ports/fbthrift/folly-has-liburing.diff
@@ -0,0 +1,13 @@
+diff --git a/thrift/lib/cpp2/security/SSLUtil.cpp b/thrift/lib/cpp2/security/SSLUtil.cpp
+index 52a15b6..515e5b5 100644
+--- a/thrift/lib/cpp2/security/SSLUtil.cpp
++++ b/thrift/lib/cpp2/security/SSLUtil.cpp
+@@ -133,7 +133,7 @@ folly::AsyncSocketTransport::UniquePtr moveToPlaintext(FizzSocket* fizzSock) {
+
+ auto sock = fizzSock->template getUnderlyingTransport<folly::AsyncSocket>();
+ folly::AsyncSocketTransport::UniquePtr plaintextTransport;
+-#if defined(__linux__) && __has_include(<liburing.h>)
++#if defined(__linux__) && FOLLY_HAS_LIBURING
+ if (!sock &&
+ fizzSock->template getUnderlyingTransport<folly::AsyncIoUringSocket>()) {
+ // `AsyncFdSocket` currently lacks uring support, so hardcode `AsyncSocket`