aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libusbmuxd/001_fix_win32_defs.patch
blob: 952a9dc2f3e1df1a74fbc79ca8011e06e901ce5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"