diff stream/netstream.h @ 27461:5a30f5bc23a0

Rename HAVE_WINSOCK preprocessor condition to HAVE_WINSOCK_H. This is what it is called in FFmpeg and more consistent with other names for similar conditionals. This fixes a potential compilation failure on MinGW, as described in Bugzilla #1262.
author diego
date Fri, 29 Aug 2008 20:05:08 +0000
parents b7d6346ab198
children
line wrap: on
line diff
--- a/stream/netstream.h	Fri Aug 29 18:23:54 2008 +0000
+++ b/stream/netstream.h	Fri Aug 29 20:05:08 2008 +0000
@@ -14,7 +14,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>
-#ifndef HAVE_WINSOCK2
+#ifndef HAVE_WINSOCK2_H
 #include <sys/socket.h>
 #endif
 #include "mp_msg.h"