Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9f90ec8d
Commit
9f90ec8d
authored
Jul 16, 2013
by
Francois Gouget
Committed by
Alexandre Julliard
Jul 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Autoconf macros don't always have a value.
parent
a93ee68f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pngformat.c
dlls/windowscodecs/pngformat.c
+3
-3
No files found.
dlls/windowscodecs/pngformat.c
View file @
9f90ec8d
...
...
@@ -176,7 +176,7 @@ MAKE_FUNCPTR(png_get_tRNS);
MAKE_FUNCPTR
(
png_set_bgr
);
MAKE_FUNCPTR
(
png_set_crc_action
);
MAKE_FUNCPTR
(
png_set_error_fn
);
#if HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8
#if
def
HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8
MAKE_FUNCPTR
(
png_set_expand_gray_1_2_4_to_8
);
#else
MAKE_FUNCPTR
(
png_set_gray_1_2_4_to_8
);
...
...
@@ -225,7 +225,7 @@ static void *load_libpng(void)
LOAD_FUNCPTR
(
png_set_bgr
);
LOAD_FUNCPTR
(
png_set_crc_action
);
LOAD_FUNCPTR
(
png_set_error_fn
);
#if HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8
#if
def
HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8
LOAD_FUNCPTR
(
png_set_expand_gray_1_2_4_to_8
);
#else
LOAD_FUNCPTR
(
png_set_gray_1_2_4_to_8
);
...
...
@@ -467,7 +467,7 @@ static HRESULT WINAPI PngDecoder_Initialize(IWICBitmapDecoder *iface, IStream *p
{
if
(
bit_depth
<
8
)
{
#if HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8
#if
def
HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8
ppng_set_expand_gray_1_2_4_to_8
(
This
->
png_ptr
);
#else
ppng_set_gray_1_2_4_to_8
(
This
->
png_ptr
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment