1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-11 04:01:31 +00:00

Put '#define closesocket close' under proper '#ifndef HAVE_CLOSESOCKET'

preprocessor condition.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27506 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-09-01 07:35:05 +00:00
parent 788a4d5f91
commit 0e970b49f0

View File

@ -35,7 +35,6 @@
#include "config.h"
#ifndef HAVE_WINSOCK2_H
#define closesocket close
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>
@ -49,6 +48,10 @@
#include "m_option.h"
#include "fastmemcpy.h"
#ifndef HAVE_CLOSESOCKET
#define closesocket close
#endif
static const vo_info_t info =
{
"Blinkenlights driver: http://www.blinkenlights.de",