aboutsummaryrefslogtreecommitdiff
path: root/mp3fileout~.c
diff options
context:
space:
mode:
Diffstat (limited to 'mp3fileout~.c')
-rw-r--r--mp3fileout~.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mp3fileout~.c b/mp3fileout~.c
index a24b448..a9c9520 100644
--- a/mp3fileout~.c
+++ b/mp3fileout~.c
@@ -81,7 +81,7 @@ extern void sys_sockerror(char *s);
void mp3fileout_closesocket(int fd)
{
-#ifdef UNIX
+#ifndef _MSC_VER
if ( close(fd) < 0 )
{
perror( "close" );
@@ -91,7 +91,7 @@ void mp3fileout_closesocket(int fd)
post( "mp3fileout~ : closed socket : %d", fd );
}
#endif
-#ifdef NT
+#ifdef _WIN32
closesocket(fd);
#else
sys_rmpollfn(fd);