diff options
| author | 2010-05-24 17:45:33 +0200 | |
|---|---|---|
| committer | 2010-05-26 01:39:27 +0200 | |
| commit | dfc1c8653b4da6086e6c241f50503e9a011066d4 (patch) | |
| tree | 203e1821fa449dda92d120d1df4b3189e839e975 /libusbmuxd/libusbmuxd.c | |
| parent | 1ad796af4f37a69a22b74dc067f8b8e0e44c9a59 (diff) | |
| download | usbmuxd-dfc1c8653b4da6086e6c241f50503e9a011066d4.tar.gz usbmuxd-dfc1c8653b4da6086e6c241f50503e9a011066d4.tar.bz2 | |
Use more common predefined compiler macro to detect win32
Diffstat (limited to 'libusbmuxd/libusbmuxd.c')
| -rw-r--r-- | libusbmuxd/libusbmuxd.c | 2 |
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) | |||
| 67 | */ | 67 | */ |
| 68 | static int connect_usbmuxd_socket() | 68 | static int connect_usbmuxd_socket() |
| 69 | { | 69 | { |
| 70 | #ifdef WINDOWS | 70 | #ifdef WIN32 |
| 71 | return connect_socket("127.0.0.1", 27015); | 71 | return connect_socket("127.0.0.1", 27015); |
| 72 | #else | 72 | #else |
| 73 | return connect_unix_socket(USBMUXD_SOCKET_FILE); | 73 | return connect_unix_socket(USBMUXD_SOCKET_FILE); |
