Skip to content

Commit 35a088a

Browse files
committed
Remove duplication with default
1 parent 82ad329 commit 35a088a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Include/exports.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@
7777
/* Under Cygwin, auto-import functions to prevent compilation */
7878
/* failures similar to those described at the bottom of 4.1: */
7979
/* 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__ */
80+
# if !defined(__CYGWIN__)
8381
# define PyAPI_FUNC(RTYPE) Py_IMPORTED_SYMBOL RTYPE
8482
# endif /* !__CYGWIN__ */
8583
# define PyAPI_DATA(RTYPE) extern Py_IMPORTED_SYMBOL RTYPE

0 commit comments

Comments
 (0)