summaryrefslogtreecommitdiffstats
path: root/libusbmuxd
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-05-24 17:45:33 +0200
committerGravatar Nikias Bassen2010-05-26 01:39:27 +0200
commitdfc1c8653b4da6086e6c241f50503e9a011066d4 (patch)
tree203e1821fa449dda92d120d1df4b3189e839e975 /libusbmuxd
parent1ad796af4f37a69a22b74dc067f8b8e0e44c9a59 (diff)
downloadusbmuxd-dfc1c8653b4da6086e6c241f50503e9a011066d4.tar.gz
usbmuxd-dfc1c8653b4da6086e6c241f50503e9a011066d4.tar.bz2
Use more common predefined compiler macro to detect win32
Diffstat (limited to 'libusbmuxd')
-rw-r--r--libusbmuxd/libusbmuxd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusbmuxd/libusbmuxd.c b/libusbmuxd/libusbmuxd.c
index 61d0b9d..bf8a31f 100644
--- a/libusbmuxd/libusbmuxd.c
+++ b/libusbmuxd/libusbmuxd.c
@@ -67,7 +67,7 @@ static usbmuxd_device_info_t *devices_find(int handle)
*/
static int connect_usbmuxd_socket()
{
-#ifdef WINDOWS
+#ifdef WIN32
return connect_socket("127.0.0.1", 27015);
#else
return connect_unix_socket(USBMUXD_SOCKET_FILE);