summaryrefslogtreecommitdiff
path: root/Source/WebCore/xml/XSLTExtensions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/xml/XSLTExtensions.cpp')
-rw-r--r--Source/WebCore/xml/XSLTExtensions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/xml/XSLTExtensions.cpp b/Source/WebCore/xml/XSLTExtensions.cpp
index 069ddd81b..a151594ab 100644
--- a/Source/WebCore/xml/XSLTExtensions.cpp
+++ b/Source/WebCore/xml/XSLTExtensions.cpp
@@ -35,11 +35,11 @@
#include <libxslt/extensions.h>
#include <libxslt/extra.h>
-#if PLATFORM(MAC)
+#if OS(DARWIN) && !PLATFORM(GTK)
#include "SoftLinking.h"
#endif
-#if PLATFORM(MAC)
+#if OS(DARWIN) && !PLATFORM(GTK)
SOFT_LINK_LIBRARY(libxslt)
SOFT_LINK(libxslt, xsltRegisterExtFunction, int, (xsltTransformContextPtr ctxt, const xmlChar *name, const xmlChar *URI, xmlXPathFunction function), (ctxt, name, URI, function))
SOFT_LINK(libxslt, xsltFunctionNodeSet, void, (xmlXPathParserContextPtr ctxt, int nargs), (ctxt, nargs))