From 49f63589aba07fa772fbec95b58bcfb0d0d95eec Mon Sep 17 00:00:00 2001 From: Damien Plisson Date: Wed, 24 Nov 2010 21:39:07 +0000 Subject: [PATCH] OSX: Patch associated with Python update to 3.1.2. Thanks to Jens Verwiebe for making the build and the patch to make the Game Engine build again with it. --- source/gameengine/Expressions/KX_Python.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/gameengine/Expressions/KX_Python.h b/source/gameengine/Expressions/KX_Python.h index 62353f04e50..234b70770f6 100644 --- a/source/gameengine/Expressions/KX_Python.h +++ b/source/gameengine/Expressions/KX_Python.h @@ -66,5 +66,15 @@ #endif #endif +#ifdef __APPLE__ +#undef isalnum +#undef isalpha +#undef islower +#undef isspace +#undef isupper +#undef tolower +#undef toupper +#endif + #endif // KX_PYTHON_H