[PD-cvs] externals/unauthorized/mp3amp~ mp3amp~.c,1.6,1.7
Hans-Christoph Steiner
eighthave at users.sourceforge.net
Sun Dec 18 19:55:11 CET 2005
Update of /cvsroot/pure-data/externals/unauthorized/mp3amp~
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19030/mp3amp~
Modified Files:
mp3amp~.c
Log Message:
lots of MinGW fixes for RC6
Index: mp3amp~.c
===================================================================
RCS file: /cvsroot/pure-data/externals/unauthorized/mp3amp~/mp3amp~.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** mp3amp~.c 9 Dec 2005 06:25:58 -0000 1.6
--- mp3amp~.c 18 Dec 2005 18:55:08 -0000 1.7
***************
*** 40,44 ****
#include "mpglib.h" /* mpglib decoding library from lame 3.92 */
#include "interface.h" /* mpglib decoding library from lame 3.92 */
! #ifdef UNIX
#include <sys/socket.h>
#include <netinet/in.h>
--- 40,48 ----
#include "mpglib.h" /* mpglib decoding library from lame 3.92 */
#include "interface.h" /* mpglib decoding library from lame 3.92 */
! #ifdef _WIN32
! #include <winsock.h>
! #include <winbase.h>
! #include <io.h>
! #else
#include <sys/socket.h>
#include <netinet/in.h>
***************
*** 52,60 ****
#include <stdlib.h>
#define SOCKET_ERROR -1
! #else
! #include <winsock.h>
! #include <winbase.h>
! #include <io.h>
! #endif
#ifdef _MSC_VER
--- 56,60 ----
#include <stdlib.h>
#define SOCKET_ERROR -1
! #endif /* _WIN32 */
#ifdef _MSC_VER
More information about the Pd-cvs
mailing list