aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/source/pyprefix.h
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/py/source/pyprefix.h')
-rw-r--r--externals/grill/py/source/pyprefix.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/externals/grill/py/source/pyprefix.h b/externals/grill/py/source/pyprefix.h
new file mode 100644
index 00000000..fcce64a1
--- /dev/null
+++ b/externals/grill/py/source/pyprefix.h
@@ -0,0 +1,27 @@
+/*
+
+py/pyext - python script object for PD and MaxMSP
+
+Copyright (c)2002-2005 Thomas Grill (gr@grrrr.org)
+For information on usage and redistribution, and for a DISCLAIMER OF ALL
+WARRANTIES, see the file, "license.txt," in this distribution.
+
+*/
+
+#ifndef __PREFIX_H
+#define __PREFIX_H
+
+#define FLEXT_ATTRIBUTES 1
+#include <flext.h>
+
+#if FLEXT_OS == FLEXT_OS_MAC
+#include <Python/Python.h>
+#else
+#include <Python.h>
+#endif
+
+#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 500)
+#error You need at least flext version 0.5.0
+#endif
+
+#endif