Update of /cvsroot/pure-data/externals/zexy/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2144
Modified Files: sfplay.c sfrecord.c Log Message: probably fixed a bug with wrong defines
Index: sfplay.c =================================================================== RCS file: /cvsroot/pure-data/externals/zexy/src/sfplay.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** sfplay.c 9 Jun 2005 12:17:03 -0000 1.4 --- sfplay.c 9 Jun 2005 12:24:57 -0000 1.5 *************** *** 75,80 **** #ifdef __WIN32__ # define BINREADMODE "rb" ! #endif ! #ifdef unix # include <unistd.h> # include <sys/mman.h> --- 75,79 ---- #ifdef __WIN32__ # define BINREADMODE "rb" ! #else # include <unistd.h> # include <sys/mman.h>
Index: sfrecord.c =================================================================== RCS file: /cvsroot/pure-data/externals/zexy/src/sfrecord.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** sfrecord.c 9 Jun 2005 12:17:03 -0000 1.4 --- sfrecord.c 9 Jun 2005 12:24:57 -0000 1.5 *************** *** 45,54 ****
#ifdef __WIN32__ ! #define BINWRITEMODE "wb" ! #endif ! #ifdef unix ! #include <unistd.h> ! #include <sys/mman.h> ! #define BINWRITEMODE "w" #endif
--- 45,53 ----
#ifdef __WIN32__ ! # define BINWRITEMODE "wb" ! #else ! # include <unistd.h> ! # include <sys/mman.h> ! # define BINWRITEMODE "w" #endif