Patch #551011: Fix compilation problems with Cygwin.

This commit is contained in:
Martin v. Löwis 2002-05-08 07:16:37 +00:00
parent 5ad6f7a3a9
commit 000e37c3c4

View File

@ -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