diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libusbmuxd/001_fix_win32_defs.patch | |
Diffstat (limited to 'vcpkg/ports/libusbmuxd/001_fix_win32_defs.patch')
| -rw-r--r-- | vcpkg/ports/libusbmuxd/001_fix_win32_defs.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/libusbmuxd/001_fix_win32_defs.patch b/vcpkg/ports/libusbmuxd/001_fix_win32_defs.patch new file mode 100644 index 0000000..952a9dc --- /dev/null +++ b/vcpkg/ports/libusbmuxd/001_fix_win32_defs.patch @@ -0,0 +1,13 @@ +diff --git a/include/usbmuxd-proto.h b/include/usbmuxd-proto.h +index a2a731e..38473f5 100644 +--- a/include/usbmuxd-proto.h ++++ b/include/usbmuxd-proto.h +@@ -26,7 +26,7 @@ + #include <stdint.h> + #define USBMUXD_PROTOCOL_VERSION 0 + +-#if defined(WIN32) || defined(__CYGWIN__) ++#if defined(_WIN32) || defined(__CYGWIN__) + #define USBMUXD_SOCKET_PORT 27015 + #else + #define USBMUXD_SOCKET_FILE "/var/run/usbmuxd" |