aboutsummaryrefslogtreecommitdiffstats
path: root/generator/cppgenerator.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-09-14 15:44:01 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:17:14 -0300
commit24206196a34b4faeb4b720efcc84747f35accf94 (patch)
tree5ebfb058a208299d6bf65dae7f90442b50ecf52d /generator/cppgenerator.cpp
parentdfd3c75a8ba6bc8a1ac42909d96bc6d4c11c6bd7 (diff)
Added sbkpython.h to deal with conflicts and missing symbols between Python2 and 3.
Diffstat (limited to 'generator/cppgenerator.cpp')
-rw-r--r--generator/cppgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/cppgenerator.cpp b/generator/cppgenerator.cpp
index 5b94d2ce8..8924f7b94 100644
--- a/generator/cppgenerator.cpp
+++ b/generator/cppgenerator.cpp
@@ -3794,7 +3794,7 @@ void CppGenerator::finishGeneration()
// write license comment
s << licenseComment() << endl;
- s << "#include <Python.h>" << endl;
+ s << "#include <sbkpython.h>" << endl;
s << "#include <shiboken.h>" << endl;
s << "#include <algorithm>" << endl;
if (usePySideExtensions())