[PD-cvs] externals/zexy/src zexy.h,1.8,1.9

IOhannes m zmölnig zmoelnig at users.sourceforge.net
Thu Oct 27 13:56:53 CEST 2005


Update of /cvsroot/pure-data/externals/zexy/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2887

Modified Files:
	zexy.h 
Log Message:
added a macro for verbose() to take effect when compiled against pd<0.39


Index: zexy.h
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/zexy.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** zexy.h	13 Jul 2005 08:01:45 -0000	1.8
--- zexy.h	27 Oct 2005 11:56:51 -0000	1.9
***************
*** 85,88 ****
--- 85,98 ----
  #endif /* ZEXY_LIBRARY */
  
+ #if (defined PD_MAJOR_VERSION && defined PD_MINOR_VERSION) && (PD_MAJOR_VERSION > 0 || PD_MINOR_VERSION > 38)
+ /* pd>=0.39 has a verbose() function; older versions don't
+  */
+ #else
+ /* this might not work on compilers other than gcc
+  * is it ISO-C99 or just a gnu-cpp thing ?
+  */
+ # define verbose(level, format, ...) post(format, ## __VA_ARGS__)
+ #endif
+ 
  
  #endif /* INCLUDE_ZEXY_H__ */





More information about the Pd-cvs mailing list