[devel] Don't try to use version-script with cygwin/mingw.

Revised contrib/gregbook to work under cygwin/mingw.
This commit is contained in:
Glenn Randers-Pehrson
2010-08-11 08:06:11 -05:00
parent b757b1b5ee
commit 9f65059a5b
9 changed files with 1070 additions and 809 deletions

View File

@@ -140,7 +140,7 @@ int readpng2_init(mainprog_info *mainprog_ptr)
* version recognizes more chunks, add them to this list. If a
* future version of readpng2.c recognizes more chunks, delete them
* from this list. */
static const png_byte chunks_to_ignore[] = {
static /* const */ png_byte chunks_to_ignore[] = {
99, 72, 82, 77, '\0', /* cHRM */
104, 73, 83, 84, '\0', /* hIST */
105, 67, 67, 80, '\0', /* iCCP */