Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29823
Modified Files: Tag: devel_0_37 d_array.c d_osc.c s_inter.c s_loader.c s_stuff.h Log Message: some fixes for cygwin
Index: s_loader.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_loader.c,v retrieving revision 1.1.1.2.2.1 retrieving revision 1.1.1.2.2.2 diff -C2 -d -r1.1.1.2.2.1 -r1.1.1.2.2.2 *** s_loader.c 16 Sep 2004 13:52:40 -0000 1.1.1.2.2.1 --- s_loader.c 7 Oct 2004 23:11:56 -0000 1.1.1.2.2.2 *************** *** 41,45 **** ".pd_darwin"; #endif ! #ifdef MSW ".dll"; #endif --- 41,45 ---- ".pd_darwin"; #endif ! #if defined(MSW) || defined(__CYGWIN__) ".dll"; #endif
Index: d_array.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/d_array.c,v retrieving revision 1.1.1.3.2.5 retrieving revision 1.1.1.3.2.6 diff -C2 -d -r1.1.1.3.2.5 -r1.1.1.3.2.6 *** d_array.c 7 Oct 2004 17:56:37 -0000 1.1.1.3.2.5 --- d_array.c 7 Oct 2004 23:11:56 -0000 1.1.1.3.2.6 *************** *** 503,507 **** #define int32 long /* a data type that has 32 bits */ #else ! #ifdef MSW /* little-endian; most significant byte is at highest address */ #define HIOFFSET 1 --- 503,507 ---- #define int32 long /* a data type that has 32 bits */ #else ! #if defined(MSW) || defined(__CYGWIN__) /* little-endian; most significant byte is at highest address */ #define HIOFFSET 1
Index: s_stuff.h =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_stuff.h,v retrieving revision 1.1.1.1.2.5 retrieving revision 1.1.1.1.2.6 diff -C2 -d -r1.1.1.1.2.5 -r1.1.1.1.2.6 *** s_stuff.h 25 Nov 2003 19:19:57 -0000 1.1.1.1.2.5 --- s_stuff.h 7 Oct 2004 23:11:56 -0000 1.1.1.1.2.6 *************** *** 137,141 **** #define API_DEFSTRING "OSS" #endif ! #ifdef MSW #define API_DEFAULT API_MMIO #define API_DEFSTRING "MMIO" --- 137,141 ---- #define API_DEFSTRING "OSS" #endif ! #if defined(MSW) || defined(__CYGWIN__) #define API_DEFAULT API_MMIO #define API_DEFSTRING "MMIO"
Index: s_inter.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_inter.c,v retrieving revision 1.1.1.3.2.16 retrieving revision 1.1.1.3.2.17 diff -C2 -d -r1.1.1.3.2.16 -r1.1.1.3.2.17 *** s_inter.c 7 Oct 2004 17:56:38 -0000 1.1.1.3.2.16 --- s_inter.c 7 Oct 2004 23:11:56 -0000 1.1.1.3.2.17 *************** *** 745,749 **** --- 745,751 ---- signal(SIGQUIT, sys_exithandler); signal(SIGILL, sys_exithandler); + #ifndef __CYGWIN__ signal(SIGIOT, sys_exithandler); + #endif signal(SIGFPE, SIG_IGN); /* signal(SIGILL, sys_exithandler);
Index: d_osc.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/d_osc.c,v retrieving revision 1.1.1.2.2.3 retrieving revision 1.1.1.2.2.4 diff -C2 -d -r1.1.1.2.2.3 -r1.1.1.2.2.4 *** d_osc.c 23 Jul 2004 08:46:40 -0000 1.1.1.2.2.3 --- d_osc.c 7 Oct 2004 23:11:56 -0000 1.1.1.2.2.4 *************** *** 19,23 **** #define int32 long /* a data type that has 32 bits */ #else ! #ifdef MSW /* little-endian; most significant byte is at highest address */ #define HIOFFSET 1 --- 19,23 ---- #define int32 long /* a data type that has 32 bits */ #else ! #if defined(MSW) || defined(__CYGWIN__) /* little-endian; most significant byte is at highest address */ #define HIOFFSET 1