Repair python3 build under Homebrew Python 3.4 with OSX 10.9.
This commit is contained in:
parent
626cd2cd6c
commit
f3fb046e45
|
@ -8,6 +8,7 @@ build/
|
||||||
Makefile.bak
|
Makefile.bak
|
||||||
miniupnpcstrings.h
|
miniupnpcstrings.h
|
||||||
pythonmodule
|
pythonmodule
|
||||||
|
pythonmodule3
|
||||||
upnpc-shared
|
upnpc-shared
|
||||||
upnpc-static
|
upnpc-static
|
||||||
minihttptestserver
|
minihttptestserver
|
||||||
|
|
|
@ -599,7 +599,7 @@ initminiupnpc(void)
|
||||||
UPnPType.tp_new = PyType_GenericNew;
|
UPnPType.tp_new = PyType_GenericNew;
|
||||||
#endif
|
#endif
|
||||||
if (PyType_Ready(&UPnPType) < 0)
|
if (PyType_Ready(&UPnPType) < 0)
|
||||||
return;
|
return 0;
|
||||||
|
|
||||||
#if PY_MAJOR_VERSION >= 3
|
#if PY_MAJOR_VERSION >= 3
|
||||||
m = PyModule_Create(&moduledef);
|
m = PyModule_Create(&moduledef);
|
||||||
|
|
Loading…
Reference in New Issue