summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lasso/xml/xml.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lasso/xml/xml.c b/lasso/xml/xml.c
index a0822a18..408028dc 100644
--- a/lasso/xml/xml.c
+++ b/lasso/xml/xml.c
@@ -1406,7 +1406,11 @@ xmlDeclareNs(xmlNode *root_node, xmlNode *node)
xmlDeclareNs(root_node, t);
}
+#if defined(__GNUC__)
__inline__ static int
+#else
+__inline static int
+#endif
sameNs(xmlNs *ns1, xmlNs *ns2)
{
/* this checks ns->prefix instead of ns->href so it is possible to