From 34966ccef94317bede153fa3d0ace958dc1e9a99 Mon Sep 17 00:00:00 2001 From: "Fred L. Drake, Jr." Date: Mon, 30 Jul 2001 19:01:47 +0000 Subject: [PATCH] Switch to testing that _MSC_EXTENSIONS is defined, not __declspec. (We can probably remove the exception for __BEOS__ now, but I cannot test that.) --- expat/lib/expat.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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