Update of /cvsroot/pure-data/externals/maxlib/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16915
Modified Files: netrec.c netserver.c netclient.c Log Message: should compile for both pd 0.36 and 0.37
Index: netserver.c =================================================================== RCS file: /cvsroot/pure-data/externals/maxlib/src/netserver.c,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** netserver.c 20 Mar 2004 22:45:16 -0000 1.11 --- netserver.c 2 Jun 2004 12:54:09 -0000 1.12 *************** *** 24,29 **** /* ---------------------------------------------------------------------------- */
- #ifdef PD_0_37 #include "m_pd.h" #include "s_stuff.h" #endif --- 24,29 ---- /* ---------------------------------------------------------------------------- */
#include "m_pd.h" + #if defined PD_MAJOR_VERSION && PD_MAJOR_VERSION==0 && PD_MINOR_VERSION==37 #include "s_stuff.h" #endif
Index: netrec.c =================================================================== RCS file: /cvsroot/pure-data/externals/maxlib/src/netrec.c,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** netrec.c 20 Mar 2004 05:56:30 -0000 1.10 --- netrec.c 2 Jun 2004 12:54:09 -0000 1.11 *************** *** 23,28 **** /* ---------------------------------------------------------------------------- */
- #ifdef PD_0_37 #include "m_pd.h" #include "s_stuff.h" #endif --- 23,28 ---- /* ---------------------------------------------------------------------------- */
#include "m_pd.h" + #if defined PD_MAJOR_VERSION && PD_MAJOR_VERSION==0 && PD_MINOR_VERSION==37 #include "s_stuff.h" #endif
Index: netclient.c =================================================================== RCS file: /cvsroot/pure-data/externals/maxlib/src/netclient.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** netclient.c 20 Mar 2004 05:56:30 -0000 1.9 --- netclient.c 2 Jun 2004 12:54:09 -0000 1.10 *************** *** 26,31 **** /* using pollfunction instead of clock (suggested by HCS) */
- #ifdef PD_0_37 #include "m_pd.h" #include "s_stuff.h" #endif --- 26,31 ---- /* using pollfunction instead of clock (suggested by HCS) */
#include "m_pd.h" + #if defined PD_MAJOR_VERSION && PD_MAJOR_VERSION==0 && PD_MINOR_VERSION==37 #include "s_stuff.h" #endif