Update of /cvsroot/pure-data/externals/unauthorized/mp3write~ In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19030/mp3write~
Modified Files: mp3write~.c Log Message: lots of MinGW fixes for RC6
Index: mp3write~.c =================================================================== RCS file: /cvsroot/pure-data/externals/unauthorized/mp3write~/mp3write~.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mp3write~.c 19 Apr 2005 00:17:35 -0000 1.5 --- mp3write~.c 18 Dec 2005 18:55:09 -0000 1.6 *************** *** 40,44 **** #endif #include <ctype.h> ! #ifdef UNIX #include <sys/types.h> #include <unistd.h> --- 40,49 ---- #endif #include <ctype.h> ! #ifdef _WIN32 ! #include <io.h> ! #include <windows.h> ! #include <winsock.h> ! #include <windef.h> ! #else #include <sys/types.h> #include <unistd.h> *************** *** 47,58 **** #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 #include <lame/lame.h> /* lame encoder stuff */ #include "m_pd.h" /* standard pd stuff */ --- 52,58 ---- #include <netdb.h> #include <time.h> #define SOCKET_ERROR -1 ! #endif /* _WIN32 */ ! #include <sys/time.h> #include <lame/lame.h> /* lame encoder stuff */ #include "m_pd.h" /* standard pd stuff */