diff stream/stream_ftp.c @ 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 c43ce7268677
children be85aae103f2
line wrap: on
line diff
--- a/stream/stream_ftp.c	Fri Aug 29 18:23:54 2008 +0000
+++ b/stream/stream_ftp.c	Fri Aug 29 20:05:08 2008 +0000
@@ -9,7 +9,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <errno.h>
-#ifndef HAVE_WINSOCK2
+#ifndef HAVE_WINSOCK2_H
 #include <sys/socket.h>
 #define closesocket close
 #else