diff options
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" |