~itachi-san/telegram-desktop/breakpad

Viewing all changes in revision 1808.

  • Committer: Mike Frysinger
  • Author(s): Jon Turney
  • Date: 2019-11-22 18:29:21 UTC
  • Revision ID: git-v1:1f1d950d6a4b1cb375ebfbc4e40f9517c592b94f
Fix compilation of http_upload.cc with Windows gcc

Fix compilation of http_upload.cc with Windows gcc after 548ca6e3, by
moving the definition of GetFileContents(), so it comes after the
definition of WideToMBCP(), which it uses (under !_MSC_VER).

common/windows/http_upload.cc: In function ‘bool {anonymous}::GetFileContents(const wstring&, std::vector<char>*)’:
common/windows/http_upload.cc:80:19: error: ‘WideToMBCP’ was not declared in this scope

Change-Id: I1646b39263e97bbf3bd8cb1ae209be238023110f
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1928929
Reviewed-by: Mike Frysinger <vapier@chromium.org>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: