summaryrefslogtreecommitdiff
path: root/lib/expat_external.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/expat_external.h')
-rw-r--r--lib/expat_external.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/expat_external.h b/lib/expat_external.h
index 8a2d708f..2c03284e 100644
--- a/lib/expat_external.h
+++ b/lib/expat_external.h
@@ -34,9 +34,9 @@
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)
+#elif defined(__GNUC__) && defined(__i386) && !defined(__INTEL_COMPILER)
#define XMLCALL __attribute__((cdecl))
#else
/* For any platform which uses this definition and supports more than