mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
Fix inability to import panda3d.dtoolconfig
This commit is contained in:
parent
4f3998ae11
commit
b71d47b96c
@ -2489,6 +2489,8 @@ static struct PyModuleDef python_simple_module = {
|
|||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
extern "C" __declspec(dllexport) INIT_FUNC();
|
extern "C" __declspec(dllexport) INIT_FUNC();
|
||||||
|
#elif __GNUC__ >= 4
|
||||||
|
extern "C" __attribute__((visibility("default"))) INIT_FUNC();
|
||||||
#else
|
#else
|
||||||
extern "C" INIT_FUNC();
|
extern "C" INIT_FUNC();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user