Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Issue 1781043005: Set HAVE_SEARCH_H so that pdfium/xfa builds with VS 2015 (Closed)

Created:
4 years, 9 months ago by brucedawson
Modified:
4 years, 9 months ago
Reviewers:
Tom Sepez, Nico
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Set HAVE_SEARCH_H so that pdfium/xfa builds with VS 2015 Enabling of XFA-Forms in crrev.com/1775173002 broke VS 2015 builds because of a conflict between the lfind declaration in libtiff\tiffiop.h and the one that ships with VS 2015. Defining HAVE_SEARCH_H for VS 2015 builds fixes this problem BUG=440500, 593996 R=thakis@chromium.org, tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/aed7b33e893b97f4734ab6fa87a220231a321c60

Patch Set 1 #

Total comments: 1

Patch Set 2 : Adding patch file and updating README.pdfium #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -1 line) Patch
A third_party/libtiff/0001-build-config.patch View 1 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/libtiff/README.pdfium View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/libtiff/tiffconf.h View 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
brucedawson
Does this look like a correct fix? It seems to work for VS 2015, and ...
4 years, 9 months ago (2016-03-11 01:45:24 UTC) #2
Nico
Looks like a good approach to me. https://codereview.chromium.org/1781043005/diff/1/third_party/libtiff/tiffconf.h File third_party/libtiff/tiffconf.h (right): https://codereview.chromium.org/1781043005/diff/1/third_party/libtiff/tiffconf.h#newcode1 third_party/libtiff/tiffconf.h:1: /* libtiff/tiffconf.h. ...
4 years, 9 months ago (2016-03-11 16:35:02 UTC) #3
Tom Sepez
This will be fine once the .patch and README are updated. Thanks immensely for doing ...
4 years, 9 months ago (2016-03-11 17:47:44 UTC) #4
brucedawson
On 2016/03/11 17:47:44, Tom Sepez wrote: > This will be fine once the .patch and ...
4 years, 9 months ago (2016-03-11 18:59:37 UTC) #5
Tom Sepez
Adding a new patch is preferred. LGTM.
4 years, 9 months ago (2016-03-11 20:02:57 UTC) #6
Nico
lgtm 2
4 years, 9 months ago (2016-03-11 21:18:48 UTC) #7
brucedawson
4 years, 9 months ago (2016-03-11 21:35:50 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
aed7b33e893b97f4734ab6fa87a220231a321c60 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698