mirror of
https://github.com/python/cpython.git
synced 2024-11-26 11:24:40 +08:00
Patch #551011: Fix compilation problems with Cygwin.
This commit is contained in:
parent
5ad6f7a3a9
commit
000e37c3c4
@ -9,7 +9,7 @@ See the file COPYING for copying permission.
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifndef XMLPARSEAPI
|
||||
# if defined(__declspec) && !defined(__BEOS__)
|
||||
# if defined(__declspec) && !defined(__BEOS__) && !defined(__CYGWIN__)
|
||||
# define XMLPARSEAPI(type) __declspec(dllimport) type __cdecl
|
||||
# else
|
||||
# define XMLPARSEAPI(type) type
|
||||
|
Loading…
Reference in New Issue
Block a user