Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21373
Modified Files: Tag: desiredata desire.h Log Message: #ifdef PD_PLUSPLUS_FACE is only supposed to be used in opposition to an existing plain-C interface. Otherwise use #ifdef __cplusplus
Index: desire.h =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.h,v retrieving revision 1.1.2.49.2.34 retrieving revision 1.1.2.49.2.35 diff -C2 -d -r1.1.2.49.2.34 -r1.1.2.49.2.35 *** desire.h 20 Jul 2007 05:39:54 -0000 1.1.2.49.2.34 --- desire.h 24 Jul 2007 20:47:24 -0000 1.1.2.49.2.35 *************** *** 325,329 **** #endif
! #ifdef PD_PLUSPLUS_FACE #include<iostream> template <class T> static T min(T a, T b) {return a<b?a:b;} --- 325,329 ---- #endif
! #ifdef __cplusplus #include<iostream> template <class T> static T min(T a, T b) {return a<b?a:b;}