From dfc1c8653b4da6086e6c241f50503e9a011066d4 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 24 May 2010 17:45:33 +0200 Subject: Use more common predefined compiler macro to detect win32 --- libusbmuxd/libusbmuxd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libusbmuxd') 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); -- cgit v1.1-32-gdbae