aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flstdc.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-09-17 02:32:55 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-09-17 02:32:55 +0000
commit9a3e9ae4965eb8d2cb93ee6c264a307d6f9ee14e (patch)
tree963dac39f54a7f794e7f856abd5e40da42323cfc /externals/grill/flext/source/flstdc.h
parent3808d6e2d118d10c6dd20c91cea63216189868f4 (diff)
""
svn path=/trunk/; revision=979
Diffstat (limited to 'externals/grill/flext/source/flstdc.h')
-rw-r--r--externals/grill/flext/source/flstdc.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/externals/grill/flext/source/flstdc.h b/externals/grill/flext/source/flstdc.h
index 36fe8e15..fc51e890 100644
--- a/externals/grill/flext/source/flstdc.h
+++ b/externals/grill/flext/source/flstdc.h
@@ -236,4 +236,26 @@ typedef t_symbol *t_symptr;
#endif
+// ----- set message queue mode -----
+#undef FLEXT_QTHR
+
+#if FLEXT_SYS == FLEXT_SYS_PD && PD_MINOR_VERSION >= 37
+ // for PD version >= 0.37test10 FLEXT_PDLOCK is standard
+ #undef FLEXT_PDLOCK
+ #define FLEXT_PDLOCK
+#endif
+
+#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