aboutsummaryrefslogtreecommitdiff
path: root/mp3write~/mp3write~.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-12-18 18:57:13 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-12-18 18:57:13 +0000
commitaa82236dd093743bd2973f8b61127582aaf6e96f (patch)
treedc74f2de6e61dc04861b8d6df53daf8ed6feb2ee /mp3write~/mp3write~.c
parentb13e2d6c3a525918ed0816c41433509477c9912a (diff)
lots of MinGW fixes for RC6
svn path=/trunk/externals/unauthorized/; revision=4250
Diffstat (limited to 'mp3write~/mp3write~.c')
-rw-r--r--mp3write~/mp3write~.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/mp3write~/mp3write~.c b/mp3write~/mp3write~.c
index e11eddd..b65abed 100644
--- a/mp3write~/mp3write~.c
+++ b/mp3write~/mp3write~.c
@@ -39,21 +39,21 @@
#include <malloc.h>
#endif
#include <ctype.h>
-#ifdef UNIX
+#ifdef _WIN32
+#include <io.h>
+#include <windows.h>
+#include <winsock.h>
+#include <windef.h>
+#else
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <time.h>
-#include <sys/time.h>
#define SOCKET_ERROR -1
-#else
-#include <io.h>
-#include <windows.h>
-#include <winsock.h>
-#include <windef.h>
-#endif
+#endif /* _WIN32 */
+#include <sys/time.h>
#include <lame/lame.h> /* lame encoder stuff */
#include "m_pd.h" /* standard pd stuff */