aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flcwmax-x-thr.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2002-12-02 17:32:50 +0000
committerThomas Grill <xovo@users.sourceforge.net>2002-12-02 17:32:50 +0000
commit4985ae92eea0eb7609a2449d7e147f69b7134b50 (patch)
tree83343cd73cec64d66b4a347612f8937643c04918 /externals/grill/flext/source/flcwmax-x-thr.h
parent7017ea71b842451548451125d10acd5c27086e3b (diff)
*** empty log message ***
svn path=/trunk/; revision=265
Diffstat (limited to 'externals/grill/flext/source/flcwmax-x-thr.h')
-rwxr-xr-xexternals/grill/flext/source/flcwmax-x-thr.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/externals/grill/flext/source/flcwmax-x-thr.h b/externals/grill/flext/source/flcwmax-x-thr.h
new file mode 100755
index 00000000..a5f105a2
--- /dev/null
+++ b/externals/grill/flext/source/flcwmax-x-thr.h
@@ -0,0 +1,30 @@
+/*
+
+flext - C++ layer for Max/MSP and pd (pure data) externals
+
+Copyright (c) 2001,2002 Thomas Grill (xovo@gmx.net)
+For information on usage and redistribution, and for a DISCLAIMER OF ALL
+WARRANTIES, see the file, "license.txt," in this distribution.
+
+*/
+
+// This is the prefix file for CodeWarrior projects - threaded version
+
+#ifndef _FLEXT_CW_MAX_X_THR_H
+#define _FLEXT_CW_MAX_X_THR_H
+
+#define FLEXT_THREADS
+#define _POSIX_THREADS
+
+/*
+ old CodeWarrior version (<= 6) don't have sigset_t defined which
+ is needed for pthreads
+*/
+#if defined(__MWERKS__) && (__MWERKS__ <= 0x6000)
+ typedef unsigned int sigset_t;
+ #define _CW_NOPRECOMP // no precompiled headers
+#endif
+
+#include "flcwmax-x.h"
+
+#endif