summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/libxml/libxml.gyp4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/libxml/libxml.gyp b/third_party/libxml/libxml.gyp
index 79a1bc2..a180ee6 100644
--- a/third_party/libxml/libxml.gyp
+++ b/third_party/libxml/libxml.gyp
@@ -218,6 +218,10 @@
],
},
}],
+ # http://www.xmlsoft.org/threads.html says that this is required
+ # when using libxml from several threads, which can possibly happen
+ # in chrome. On linux, this is picked up by transitivity from
+ # pkg-config output from build/linux/system.gyp.
['OS=="mac" or OS=="android"', {'defines': ['_REENTRANT']}],
['OS=="win"', {
'product_name': 'libxml2',