diff TOOLS/netstream.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 8825552ee585
children b1c3057fa54e
line wrap: on
line diff
--- a/TOOLS/netstream.c	Fri Aug 29 18:23:54 2008 +0000
+++ b/TOOLS/netstream.c	Fri Aug 29 20:05:08 2008 +0000
@@ -28,7 +28,7 @@
 
 #include "config.h"
 
-#ifndef HAVE_WINSOCK2
+#ifndef HAVE_WINSOCK2_H
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>