Switch to testing that _MSC_EXTENSIONS is defined, not __declspec. (We can

probably remove the exception for __BEOS__ now, but I cannot test that.)
This commit is contained in:
Fred L. Drake, Jr. 2001-07-30 19:01:47 +00:00
parent 8c802e078d
commit 34966ccef9

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(_MSC_EXTENSIONS) && !defined(__BEOS__)
# define XMLPARSEAPI(type) __declspec(dllimport) type __cdecl
# else
# define XMLPARSEAPI(type) type