diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-08-30 04:48:44 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-08-30 04:48:44 +0000 |
commit | 60bd4b15c52f930db76be0b3d7006cc20e7b6eb3 (patch) | |
tree | fa7bc86cbf93e572e6fed844ad9e286a0de11cdf /sca-cpp/trunk/modules/python/eval.hpp | |
parent | 40bf8c5345097ac04516ae2765ceec8570089525 (diff) |
Port to Memcached 1.4.7 and Ubuntu 11.04.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1163087 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/python/eval.hpp')
-rw-r--r-- | sca-cpp/trunk/modules/python/eval.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/python/eval.hpp b/sca-cpp/trunk/modules/python/eval.hpp index c085aa42c3..f106ff1659 100644 --- a/sca-cpp/trunk/modules/python/eval.hpp +++ b/sca-cpp/trunk/modules/python/eval.hpp @@ -25,7 +25,11 @@ /** * Python script evaluation logic. */ +#if PYTHON_VERSION == 27 +#include <python2.7/Python.h> +#else #include <python2.6/Python.h> +#endif #include "list.hpp" #include "value.hpp" |