From f81282808b0d9147fc0c980e418c56774d1f6735 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sat, 14 Jun 2003 02:32:39 +0000 Subject: "" svn path=/trunk/; revision=702 --- externals/grill/flext/source/flprefix.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'externals/grill/flext/source/flprefix.h') diff --git a/externals/grill/flext/source/flprefix.h b/externals/grill/flext/source/flprefix.h index dae6822c..87f976a7 100755 --- a/externals/grill/flext/source/flprefix.h +++ b/externals/grill/flext/source/flprefix.h @@ -297,7 +297,7 @@ WARRANTIES, see the file, "license.txt," in this distribution. // #pragma message("Compiling for PD") #endif -// set threading model +// ----- set threading model ----- #ifdef FLEXT_THREADS #undef FLEXT_THREADS #if FLEXT_OS == FLEXT_OS_MAC && FLEXT_SYS == FLEXT_SYS_MAX @@ -308,4 +308,19 @@ WARRANTIES, see the file, "license.txt," in this distribution. #endif #endif +// ----- set message queue mode ----- +#undef FLEXT_QTHR + +#ifdef FLEXT_PDLOCK + // new PD thread locking functionality shall be used + #if FLEXT_SYS == FLEXT_SYS_PD + #ifdef FLEXT_THREADS + // can only be used with PD and threaded build + #define FLEXT_QTHR + #endif + #else + #error FLEXT_PDLOCK can only be defined with PD + #endif #endif + +#endif // __FLEXT_PREFIX_H -- cgit v1.2.1