diff options
author | Nikias Bassen | 2013-07-30 00:57:12 +0200 |
---|---|---|
committer | Nikias Bassen | 2013-07-30 00:57:12 +0200 |
commit | 9631a38c55acd203c305bb721dbd1a347bf6ce20 (patch) | |
tree | e32c841e5dc182053ca2a35f167467bc417393fc /libusbmuxd/libusbmuxd.c | |
parent | 702a6faac5de45e2279c8a87a529b24a5b64d418 (diff) | |
download | usbmuxd-9631a38c55acd203c305bb721dbd1a347bf6ce20.tar.gz usbmuxd-9631a38c55acd203c305bb721dbd1a347bf6ce20.tar.bz2 |
libusbmuxd: use 134 for EPROTO in win32 and only define it if it's not defined already.
Thanks saurik for pointing this out.
Diffstat (limited to 'libusbmuxd/libusbmuxd.c')
-rw-r--r-- | libusbmuxd/libusbmuxd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libusbmuxd/libusbmuxd.c b/libusbmuxd/libusbmuxd.c index b4afe8e..4a59639 100644 --- a/libusbmuxd/libusbmuxd.c +++ b/libusbmuxd/libusbmuxd.c @@ -30,7 +30,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA #include <windows.h> #include <winsock2.h> #define sleep(x) Sleep(x*1000) -#define EPROTO 71 +#ifndef EPROTO +#define EPROTO 134 +#endif #define EBADMSG 77 #else #include <sys/socket.h> |