diff options
author | dmikurube@chromium.org <dmikurube@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-02 05:11:37 +0000 |
---|---|---|
committer | dmikurube@chromium.org <dmikurube@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-02 05:11:37 +0000 |
commit | 0ed906077e6c4e8bae5ddffeefcb1ce9ec4fab53 (patch) | |
tree | baa8e8af41ed16dbd1240baafa34ab14c84f606d /third_party/harfbuzz-ng | |
parent | 13296ed1ed86b4ce7885468f38fc03b775edc575 (diff) | |
download | chromium_src-0ed906077e6c4e8bae5ddffeefcb1ce9ec4fab53.zip chromium_src-0ed906077e6c4e8bae5ddffeefcb1ce9ec4fab53.tar.gz chromium_src-0ed906077e6c4e8bae5ddffeefcb1ce9ec4fab53.tar.bz2 |
Undefine _POSIX_C_SOURCE before redefining in third_party/harfbuzz-ng/src/hb-blob.cc.
BUG=225651
TBR=jshin@chromium.org
Review URL: https://codereview.chromium.org/13442002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191781 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/harfbuzz-ng')
-rw-r--r-- | third_party/harfbuzz-ng/README.chromium | 2 | ||||
-rw-r--r-- | third_party/harfbuzz-ng/src/hb-blob.cc | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/third_party/harfbuzz-ng/README.chromium b/third_party/harfbuzz-ng/README.chromium index 8d8d69e..b70e893 100644 --- a/third_party/harfbuzz-ng/README.chromium +++ b/third_party/harfbuzz-ng/README.chromium @@ -24,3 +24,5 @@ in a separate tree. In addition, all unneeded files from the root directory and src/ directory (hb-icu-le, hb-ucdn, hb-old, scripts to generate data tables, automake/conf files) are deleted. + +_POSIX_C_SOURCE is undefined in src/hb-blob.cc before (re)defining it. diff --git a/third_party/harfbuzz-ng/src/hb-blob.cc b/third_party/harfbuzz-ng/src/hb-blob.cc index dfd134b..f0d3b25 100644 --- a/third_party/harfbuzz-ng/src/hb-blob.cc +++ b/third_party/harfbuzz-ng/src/hb-blob.cc @@ -25,6 +25,9 @@ */ /* http://www.oracle.com/technetwork/articles/servers-storage-dev/standardheaderfiles-453865.html */ +#if defined(_POSIX_C_SOURCE) +#undef _POSIX_C_SOURCE +#endif #define _POSIX_C_SOURCE 199309L #include "hb-private.hh" |