[PD-cvs] externals/grill/flext/source flstdc.h,1.28,1.29

Thomas Grill xovo at users.sourceforge.net
Tue Jan 4 05:58:55 CET 2005


Update of /cvsroot/pure-data/externals/grill/flext/source
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18444/source

Modified Files:
	flstdc.h 
Log Message:
updated build system - some cleanups
updated for build system
updated build system for OSX
cleanups
updated build system


Index: flstdc.h
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/source/flstdc.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** flstdc.h	17 Dec 2004 05:01:18 -0000	1.28
--- flstdc.h	4 Jan 2005 04:58:53 -0000	1.29
***************
*** 119,123 ****
--- 119,126 ----
  #include "ext.h"
  #include "ext_user.h"
+ #if FLEXT_OS == FLEXT_OS_MAC && defined(MAC_VERSION)
+ // doesn't exist for OS9
  #include "ext_critical.h"
+ #endif
  #include "z_dsp.h"
  
***************
*** 134,141 ****
  typedef t_object *t_thing;
  
! // for the following to work for Max for OSX you should have the latest SDK
! #if FLEXT_OS == FLEXT_OS_MAC && !defined(MAC_VERSION)
! // Max for OS9 SDK
! typedef qelem t_qelem;
  #else
  typedef void *t_qelem;
--- 137,143 ----
  typedef t_object *t_thing;
  
! // for the following to work you should have the latest SDK
! #if FLEXT_OS == FLEXT_OS_MAC //&& !defined(MAC_VERSION)
! typedef struct qelem t_qelem;
  #else
  typedef void *t_qelem;
***************
*** 171,174 ****
--- 173,181 ----
  #endif
  
+ #if FLEXT_OS == FLEXT_OS_MAC && !defined(MAC_VERSION)
+ // simulate non-existing functions for OS9
+ #define critical_enter(N)
+ #define critical_exit(N)
+ #endif
  
  #elif FLEXT_SYS == FLEXT_SYS_JMAX





More information about the Pd-cvs mailing list