aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/source/pyprefix.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-08-01 11:58:01 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-08-01 11:58:01 +0000
commit15b2643791d8b6efe6075bba78acea812f368ff0 (patch)
tree5d4c6a0137985acf6e9d8f9811df8cf0e82299cb /externals/grill/py/source/pyprefix.h
parent367019514f0f39144c17878213cf92a9de991d27 (diff)
path setting based on new flext functionality
open editor for module file on "edit" message (or click) open editor for script under OS X svn path=/trunk/; revision=3399
Diffstat (limited to 'externals/grill/py/source/pyprefix.h')
-rw-r--r--externals/grill/py/source/pyprefix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/externals/grill/py/source/pyprefix.h b/externals/grill/py/source/pyprefix.h
index ac97cbde..de74ca42 100644
--- a/externals/grill/py/source/pyprefix.h
+++ b/externals/grill/py/source/pyprefix.h
@@ -14,6 +14,10 @@ WARRANTIES, see the file, "license.txt," in this distribution.
#define FLEXT_ATTRIBUTES 1
#include <flext.h>
+// hack: must include math.h before Python.h (at least on OSX)
+// otherwise some functions don't get defined
+#include <math.h>
+
#if FLEXT_OS == FLEXT_OS_MAC
#include <Python/Python.h>
#else