We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0e0a83 commit 5abc323Copy full SHA for 5abc323
1 file changed
Include/exports.h
@@ -104,7 +104,11 @@
104
# endif /* __cplusplus */
105
#endif
106
107
-#define PyMODINIT_FUNC _PyINIT_FUNC_DECLSPEC PyObject*
108
-#define PyMODEXPORT_FUNC _PyINIT_FUNC_DECLSPEC PyModuleDef_Slot*
+#ifndef PyMODINIT_FUNC
+ #define PyMODINIT_FUNC _PyINIT_FUNC_DECLSPEC PyObject*
109
+#endif
110
+#ifndef PyMODEXPORT_FUNC
111
+ #define PyMODEXPORT_FUNC _PyINIT_FUNC_DECLSPEC PyModuleDef_Slot*
112
113
114
#endif /* Py_EXPORTS_H */
0 commit comments