Fix Python 3 division member operator when -builtin is not used.
This commit is contained in:
parent
cf370fb504
commit
8df7c5fb7e
2 changed files with 9 additions and 0 deletions
|
|
@ -517,6 +517,7 @@ public:
|
|||
fputs(usage3, stdout);
|
||||
} else if (strcmp(argv[i], "-py3") == 0) {
|
||||
py3 = 1;
|
||||
Preprocessor_define("SWIGPYTHON_PY3", 0);
|
||||
Swig_mark_arg(i);
|
||||
} else if (strcmp(argv[i], "-builtin") == 0) {
|
||||
builtin = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue