Update of /cvsroot/pure-data/externals/unauthorized/cooled~ In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19030/cooled~
Modified Files: cooled~.c Log Message: lots of MinGW fixes for RC6
Index: cooled~.c =================================================================== RCS file: /cvsroot/pure-data/externals/unauthorized/cooled~/cooled~.c,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** cooled~.c 19 Apr 2005 00:17:34 -0000 1.10 --- cooled~.c 18 Dec 2005 18:55:03 -0000 1.11 *************** *** 46,56 **** #include <ctype.h> #include <pthread.h> ! #ifdef UNIX #include <unistd.h> #endif ! #ifdef NT #define M_PI 3.14159265358979323846 #endif - #include <math.h>
#include "m_pd.h" --- 46,60 ---- #include <ctype.h> #include <pthread.h> ! #ifdef _WIN32 ! #include <io.h> ! #define usleep(a) _sleep(a/1000) ! #else #include <unistd.h> #endif ! ! #include <math.h> ! #ifndef M_PI #define M_PI 3.14159265358979323846 #endif
#include "m_pd.h"