[PD-cvs] externals/footils/knob knob.c,1.5,1.6

Hans-Christoph Steiner eighthave at users.sourceforge.net
Sun Dec 18 17:32:40 CET 2005


Update of /cvsroot/pure-data/externals/footils/knob
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23855/knob

Modified Files:
	knob.c 
Log Message:
minor fixes for MinGW

Index: knob.c
===================================================================
RCS file: /cvsroot/pure-data/externals/footils/knob/knob.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** knob.c	6 Jun 2004 14:16:53 -0000	1.5
--- knob.c	18 Dec 2005 16:32:37 -0000	1.6
***************
*** 30,40 ****
  #include <math.h>
  
! #ifdef NT
  #include <io.h>
- #define M_PI 3.141592654
  #else
  #include <unistd.h>
  #endif
  
  #define IEM_KNOB_DEFAULTSIZE 32
  
--- 30,43 ----
  #include <math.h>
  
! #ifdef WIN32
  #include <io.h>
  #else
  #include <unistd.h>
  #endif
  
+ #ifndef M_PI
+ #define M_PI 3.141592654
+ #endif
+ 
  #define IEM_KNOB_DEFAULTSIZE 32
  





More information about the Pd-cvs mailing list