[alpha] Sync with libpng-1.4.0rc03

Declared png_cleanup_needed "volatile" in pngread.c and pngwrite.c
  Renamed libpng-pc.in back to libpng.pc.in and revised CMakeLists.txt
    (revising the change in 1.4.0beta99)
This commit is contained in:
Glenn Randers-Pehrson
2009-12-22 13:31:49 -06:00
parent eb0bafb984
commit c0d6371cd0
7 changed files with 37 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
/* pngwrite.c - general routines to write a PNG file
*
* Last changed in libpng 1.4.0 [December 12, 2009]
* Last changed in libpng 1.4.0 [December 22, 2009]
* Copyright (c) 1998-2009 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
@@ -468,7 +468,7 @@ png_create_write_struct_2(png_const_charp user_png_ver, png_voidp error_ptr,
png_malloc_ptr malloc_fn, png_free_ptr free_fn)
{
#endif /* PNG_USER_MEM_SUPPORTED */
int png_cleanup_needed = 0;
volatile int png_cleanup_needed = 0;
#ifdef PNG_SETJMP_SUPPORTED
volatile
#endif