Update of /cvsroot/pure-data/externals/unauthorized/speex~ In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19030/speex~
Modified Files: speexin~.c speexout~.c Log Message: lots of MinGW fixes for RC6
Index: speexout~.c =================================================================== RCS file: /cvsroot/pure-data/externals/unauthorized/speex~/speexout~.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** speexout~.c 9 Dec 2005 06:25:59 -0000 1.6 --- speexout~.c 18 Dec 2005 18:55:12 -0000 1.7 *************** *** 32,36 ****
! #ifdef NT #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 ) --- 32,36 ----
! #ifdef _MSC_VER #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 ) *************** *** 48,52 **** #endif #include <ctype.h> ! #ifdef WIN32 #include <io.h> #include <windows.h> --- 48,52 ---- #endif #include <ctype.h> ! #ifdef _WIN32 #include <io.h> #include <windows.h> *************** *** 63,67 **** #endif
! #if defined(__APPLE__) || defined(WIN32) #define MSG_NOSIGNAL 0 #endif --- 63,67 ---- #endif
! #if defined(__APPLE__) || defined(_WIN32) #define MSG_NOSIGNAL 0 #endif
Index: speexin~.c =================================================================== RCS file: /cvsroot/pure-data/externals/unauthorized/speex~/speexin~.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** speexin~.c 9 Dec 2005 06:25:59 -0000 1.4 --- speexin~.c 18 Dec 2005 18:55:12 -0000 1.5 *************** *** 34,38 **** #include <string.h> #include <stdlib.h> ! #ifdef WIN32 #include <winsock.h> #else --- 34,39 ---- #include <string.h> #include <stdlib.h> ! #ifdef _WIN32 ! #include <io.h> #include <winsock.h> #else *************** *** 50,54 **** #endif
! #if defined(__APPLE__) || defined(WIN32) #define MSG_NOSIGNAL 0 #define SOL_TCP IPPROTO_TCP --- 51,55 ---- #endif
! #if defined(__APPLE__) || defined(_WIN32) #define MSG_NOSIGNAL 0 #define SOL_TCP IPPROTO_TCP