mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
ppython: fix compile error on clang 4
This commit is contained in:
parent
163c923c82
commit
0493b07f45
@ -98,7 +98,7 @@ int main(int argc, char *argv[]) {
|
|||||||
|
|
||||||
int sts = 0;
|
int sts = 0;
|
||||||
PyObject* m = PyImport_ImportModule(IMPORT_MODULE_STR);
|
PyObject* m = PyImport_ImportModule(IMPORT_MODULE_STR);
|
||||||
if (m <= 0) {
|
if (m == 0) {
|
||||||
PyErr_Print();
|
PyErr_Print();
|
||||||
sts = 1;
|
sts = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user