diff --git a/expat/lib/expat.h.in b/expat/lib/expat.h.in index 7c928b1a..bbbf792d 100644 --- a/expat/lib/expat.h.in +++ b/expat/lib/expat.h.in @@ -9,7 +9,7 @@ See the file COPYING for copying permission. #include #ifndef XMLPARSEAPI -# if defined(__declspec) && !defined(__BEOS__) +# if defined(_MSC_EXTENSIONS) && !defined(__BEOS__) # define XMLPARSEAPI(type) __declspec(dllimport) type __cdecl # else # define XMLPARSEAPI(type) type