diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-01-04 04:58:53 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-01-04 04:58:53 +0000 |
commit | 7d237bf606940cede753ae1c07a59c1ec24027bf (patch) | |
tree | 4366a0c71e09acb4e89556964d4e23f6e3fe7631 /externals/grill/flext/source | |
parent | 71b359c9eeb0071f6a1dfa2befb07a619b1e75c4 (diff) |
updated build system - some cleanups
updated for build system
updated build system for OSX
cleanups
updated build system
svn path=/trunk/; revision=2458
Diffstat (limited to 'externals/grill/flext/source')
-rw-r--r-- | externals/grill/flext/source/flstdc.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/externals/grill/flext/source/flstdc.h b/externals/grill/flext/source/flstdc.h index 0a63111e..14e4f0f0 100644 --- a/externals/grill/flext/source/flstdc.h +++ b/externals/grill/flext/source/flstdc.h @@ -118,7 +118,10 @@ extern "C" { #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" } // extern "C" @@ -133,10 +136,9 @@ typedef t_int t_flint; typedef t_symbol *t_symtype; 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; +// 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; #endif @@ -170,6 +172,11 @@ typedef void t_binbuf; #define A_DEFSYMBOL A_DEFSYM #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 |