aboutsummaryrefslogtreecommitdiff
path: root/mp3fileout~.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-08-01 23:29:14 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:23:30 +0200
commit643db65912ac1b19cafc5e6a194828132029ba79 (patch)
tree60a26041fed52e63efa59cd0c2975fffa265fdfb /mp3fileout~.c
parentac7266a0e930bd947d9f22af43d9c222574fe1bd (diff)
replaced NT and UNIX macros with _WIN32 and _MSC_VER where appropriate
svn path=/trunk/externals/unauthorized/; revision=15192
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);