From: Fred L. Drake, Jr. Date: Mon, 30 Jul 2001 19:01:47 +0000 (+0000) Subject: Switch to testing that _MSC_EXTENSIONS is defined, not __declspec. (We can X-Git-Tag: R_1_95_3~143 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=34966ccef94317bede153fa3d0ace958dc1e9a99;p=libexpat Switch to testing that _MSC_EXTENSIONS is defined, not __declspec. (We can probably remove the exception for __BEOS__ now, but I cannot test that.) --- 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