mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
Patch #551011: Fix compilation problems with Cygwin.
This commit is contained in:
parent
5ad6f7a3a9
commit
000e37c3c4
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ See the file COPYING for copying permission.
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#ifndef XMLPARSEAPI
|
#ifndef XMLPARSEAPI
|
||||||
# if defined(__declspec) && !defined(__BEOS__)
|
# if defined(__declspec) && !defined(__BEOS__) && !defined(__CYGWIN__)
|
||||||
# define XMLPARSEAPI(type) __declspec(dllimport) type __cdecl
|
# define XMLPARSEAPI(type) __declspec(dllimport) type __cdecl
|
||||||
# else
|
# else
|
||||||
# define XMLPARSEAPI(type) type
|
# define XMLPARSEAPI(type) type
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue