diff options
author | weili <weili@chromium.org> | 2016-05-05 17:13:42 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-05 17:13:42 -0700 |
commit | d29882d3a0567e297756f69b77562ed4892f012a (patch) | |
tree | 1d97bf6fd79f9e6c7065434529cf4f9a9f79bdf5 /xfa/fwl | |
parent | 1f00dbf0203bdd6b4100457301fef1216546e2f7 (diff) | |
download | pdfium-d29882d3a0567e297756f69b77562ed4892f012a.tar.xz |
Resolve macro redefinition warnings when built in Chromium
Chromium defines WIN32_LEAN_AND_MEAN on Windows. Third party library
libtiff also defines it. So we undefine it before compiling libtiff
code for GYP build.
Also, remove _CRT_SECURE_NO_WARNINGS macro since it is redefined in
zlib library as well. Our code no longer needs it.
After fixing the above, re-enable warning flag 4005 which alerts about
"macro redefinition".
For GN build, we disable warning 4005 for compiling libtiff
code before we can figure out another way to do this.
Review-Url: https://codereview.chromium.org/1954773002
Diffstat (limited to 'xfa/fwl')
0 files changed, 0 insertions, 0 deletions