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

Side by Side Diff: third_party/libpng16/pngprefix.h

Issue 1763493002: Rename png_ functions conflicting with chrome. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix pngprefix.h comment Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libpng16/README.pdfium ('k') | third_party/third_party.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef PNGPREFIX_H
6 #define PNGPREFIX_H
7
8 // The purpose of this file is to rename conflicting functions
9 // when this version of libpng and chromium's version of it are
10 // both simultaneously present.
11
12 #define png_get_uint_32 PDFIUM_png_get_uint_32
13 #define png_get_uint_16 PDFIUM_png_get_uint_16
14 #define png_get_int_32 PDFIUM_png_get_int_32
15 #define png_get_int_16 PDFIUM_png_get_int_16
16
17 #endif // PNGPREFIX_H
OLDNEW
« no previous file with comments | « third_party/libpng16/README.pdfium ('k') | third_party/third_party.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698