From a55a5773570e56a1fb59887f1215f3d05a055700 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 25 Nov 2002 22:27:34 +0000 Subject: "" svn path=/trunk/; revision=243 --- externals/grill/flext/source/flstdc.h | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) (limited to 'externals/grill/flext/source/flstdc.h') diff --git a/externals/grill/flext/source/flstdc.h b/externals/grill/flext/source/flstdc.h index 73ce613c..f4e7ea48 100644 --- a/externals/grill/flext/source/flstdc.h +++ b/externals/grill/flext/source/flstdc.h @@ -59,6 +59,10 @@ extern "C" { #pragma warning (pop) #endif +#ifdef cabs +#undef cabs // this is defined in m_pd.h (clashes with math.h) +#endif + typedef t_object t_sigobj; typedef t_gpointer *t_ptrtype; @@ -78,10 +82,25 @@ typedef t_clock t_qelem; /* MaxMSP definitions start here */ +#ifndef __MRC__ +#define powerc +#endif +#define __MOTO__ 0 + + // Include the relevant MaxMSP header files + +#include + extern "C" { + #include "ext.h" +/* +#include "ext_prefix.h" +#include "ext_mess.h" +#include "ext_proto.h" +*/ //#include "ext_strings.h" // clashes with MPW #include "ext_user.h" #include "z_dsp.h" @@ -96,7 +115,11 @@ typedef t_symbol *t_symptr; typedef t_symbol *t_symtype; typedef t_object *t_thing; +#ifdef MAC_VERSION +typedef void t_qelem; +#else typedef qelem t_qelem; +#endif typedef method t_method; typedef method t_newmethod; @@ -109,9 +132,17 @@ typedef void t_binbuf; #define clock_free(tick) freeobject((object *)tick) #define A_NULL A_NOTHING -#define A_FLINT A_INT +//#define A_FLINT A_INT #define A_DEFFLINT A_DEFLONG +#ifndef A_INT +#define A_INT A_LONG +#endif + +#ifndef A_SYMBOL +#define A_SYMBOL A_SYM +#endif + #endif -- cgit v1.2.1