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 82ad329 commit 35a088aCopy full SHA for 35a088a
Include/exports.h
@@ -77,9 +77,7 @@
77
/* Under Cygwin, auto-import functions to prevent compilation */
78
/* failures similar to those described at the bottom of 4.1: */
79
/* http://docs.python.org/extending/windows.html#a-cookbook-approach */
80
-# if defined(__CYGWIN__)
81
-# define _PyINIT_FUNC_DECLSPEC _PyINIT_EXPORTED_SYMBOL
82
-# else /* __CYGWIN__ */
+# if !defined(__CYGWIN__)
83
# define PyAPI_FUNC(RTYPE) Py_IMPORTED_SYMBOL RTYPE
84
# endif /* !__CYGWIN__ */
85
# define PyAPI_DATA(RTYPE) extern Py_IMPORTED_SYMBOL RTYPE
0 commit comments