Fix inability to import panda3d.dtoolconfig

This commit is contained in:
rdb 2015-06-29 17:34:08 +02:00
parent 4f3998ae11
commit b71d47b96c

View File

@ -2489,6 +2489,8 @@ static struct PyModuleDef python_simple_module = {
#ifdef _WIN32
extern "C" __declspec(dllexport) INIT_FUNC();
#elif __GNUC__ >= 4
extern "C" __attribute__((visibility("default"))) INIT_FUNC();
#else
extern "C" INIT_FUNC();
#endif