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:
parent
8c802e078d
commit
34966ccef9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user