summaryrefslogtreecommitdiffstats
path: root/libusbmuxd/usbmuxd-proto.h
diff options
context:
space:
mode:
authorGravatar Cerrato Renaud2010-06-10 10:41:30 +0200
committerGravatar Hector Martin2010-06-13 19:38:39 +0200
commit63ffaef5b9ba6225d2106f9d4ec07dd318163287 (patch)
tree20e27ae61fdce88281cba12b2423088e7befe935 /libusbmuxd/usbmuxd-proto.h
parent713cfb3d145f9db242138405f16d4ab225e8ba04 (diff)
downloadusbmuxd-63ffaef5b9ba6225d2106f9d4ec07dd318163287.tar.gz
usbmuxd-63ffaef5b9ba6225d2106f9d4ec07dd318163287.tar.bz2
Fix cygwin builds
- libusbmuxd/CMakeLists.txt : there was a neglect into install rules, for DLL, RUNTIME was missing. - libusbmuxd.c : added __CYGWIN__ conditionnal compilation checks to force regular socket instead of UNIX sockets on CYGWIN platform.
Diffstat (limited to 'libusbmuxd/usbmuxd-proto.h')
-rw-r--r--libusbmuxd/usbmuxd-proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusbmuxd/usbmuxd-proto.h b/libusbmuxd/usbmuxd-proto.h
index 11dd3cf..390cd3d 100644
--- a/libusbmuxd/usbmuxd-proto.h
+++ b/libusbmuxd/usbmuxd-proto.h
@@ -28,7 +28,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#include <stdint.h>
#define USBMUXD_PROTOCOL_VERSION 0
-#ifdef WIN32
+#if defined(WIN32) || defined(__CYGWIN__)
#define USBMUXD_SOCKET_PORT 27015
#else
#define USBMUXD_SOCKET_FILE "/var/run/usbmuxd"