diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-10 19:52:21 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-10 19:52:21 +0000 |
commit | 2b067e321f72df0b2424f2051301beb28d6c5789 (patch) | |
tree | f6143ae3a5bf29aac22557d46c64a77661d40147 /third_party | |
parent | ec4b58e4db5a2645630883c15e7c551fd2f49e4e (diff) | |
download | chromium_src-2b067e321f72df0b2424f2051301beb28d6c5789.zip chromium_src-2b067e321f72df0b2424f2051301beb28d6c5789.tar.gz chromium_src-2b067e321f72df0b2424f2051301beb28d6c5789.tar.bz2 |
Add a comment explaining why we need libxml's multithreading mode
BUG=138571
Review URL: https://chromiumcodereview.appspot.com/10828214
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151111 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/libxml/libxml.gyp | 4 |
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', |