__cdecl should be used for MS compilers even if MS extensions are turned off.

This commit is contained in:
Karl Waclawek 2006-06-02 12:17:36 +00:00
parent 1a1fea41db
commit 1c42f84506

View file

@ -34,7 +34,7 @@
system headers may assume the cdecl convention.
*/
#ifndef XMLCALL
#if defined(XML_USE_MSC_EXTENSIONS)
#if defined(_MSC_VER)
#define XMLCALL __cdecl
#elif defined(__GNUC__) && defined(__i386) && !defined(__INTEL_COMPILER)
#define XMLCALL __attribute__((cdecl))