summaryrefslogtreecommitdiffstats
path: root/libusbmuxd/usbmuxd-proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'libusbmuxd/usbmuxd-proto.h')
-rw-r--r--libusbmuxd/usbmuxd-proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libusbmuxd/usbmuxd-proto.h b/libusbmuxd/usbmuxd-proto.h
index 9d841ca..0d4596c 100644
--- a/libusbmuxd/usbmuxd-proto.h
+++ b/libusbmuxd/usbmuxd-proto.h
@@ -28,7 +28,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#include <stdint.h>
#define USBMUXD_PROTOCOL_VERSION 0
+#ifdef WIN32
+#define USBMUXD_SOCKET_PORT 27015
+#else
#define USBMUXD_SOCKET_FILE "/var/run/usbmuxd"
+#endif
enum usbmuxd_result {
RESULT_OK = 0,