From b380515c84ea4d22fd7a6b108609ec8adaf8d1f4 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Mon, 31 Aug 2009 14:50:08 -0500 Subject: [PATCH] [devel] Removed references to PNG_NO_GLOBAL_ARRAYS from contrib/visupng and contrib/pngminim sources. --- contrib/pngminim/decoder/pngusr.h | 8 ++++---- contrib/pngminim/encoder/pngusr.h | 4 ++-- contrib/pngminim/preader/pngusr.h | 8 ++++---- contrib/visupng/VisualPng.dsp | 8 ++++---- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/contrib/pngminim/decoder/pngusr.h b/contrib/pngminim/decoder/pngusr.h index d54304d25..e99a00147 100644 --- a/contrib/pngminim/decoder/pngusr.h +++ b/contrib/pngminim/decoder/pngusr.h @@ -16,8 +16,8 @@ /* No 16-bit support beyond reading with strip_16 */ #endif -#define PNG_NO_GLOBAL_ARRAYS - +%12-%#define PNG_NO_GLOBAL_ARRAYS +%12-% #define PNG_NO_WARNINGS #define png_warning(s1,s2) "" #define png_chunk_warning(s1,s2) "" @@ -25,8 +25,8 @@ #define png_error(s1,s2) png_err(s1) #define png_chunk_error(s1,s2) png_err(s1) -#define PNG_NO_ASSEMBLER_CODE -#define PNG_NO_OPTIMIZED_CODE +%12-%#define PNG_NO_ASSEMBLER_CODE +%12-%#define PNG_NO_OPTIMIZED_CODE #define PNG_NO_READ_GAMMA #define PNG_NO_READ_BACKGROUND #define PNG_NO_READ_DITHER diff --git a/contrib/pngminim/encoder/pngusr.h b/contrib/pngminim/encoder/pngusr.h index c98b547fc..16041dd3f 100644 --- a/contrib/pngminim/encoder/pngusr.h +++ b/contrib/pngminim/encoder/pngusr.h @@ -12,8 +12,8 @@ #ifndef MINWRPNGCONF_H #define MINWRPNGCONF_H -#define PNG_NO_GLOBAL_ARRAYS - +%12-%#define PNG_NO_GLOBAL_ARRAYS +%12-% #define PNG_NO_READ_SUPPORTED #define PNG_NO_WARNINGS diff --git a/contrib/pngminim/preader/pngusr.h b/contrib/pngminim/preader/pngusr.h index 2ddae4abc..1297b4ef8 100644 --- a/contrib/pngminim/preader/pngusr.h +++ b/contrib/pngminim/preader/pngusr.h @@ -12,8 +12,8 @@ #ifndef MINPRDPNGCONF_H #define MINPRDPNGCONF_H -#define PNG_NO_GLOBAL_ARRAYS - +%12-%#define PNG_NO_GLOBAL_ARRAYS +%12-% #define PNG_NO_WARNINGS #define png_warning(s1,s2) "" #define png_chunk_warning(s1,s2) "" @@ -21,8 +21,8 @@ #define png_error(s1,s2) png_err(s1) #define png_chunk_error(s1,s2) png_err(s1) -#define PNG_NO_ASSEMBLER_CODE -#define PNG_NO_OPTIMIZED_CODE +%12-%#define PNG_NO_ASSEMBLER_CODE +%12-%#define PNG_NO_OPTIMIZED_CODE #define PNG_NO_READ_DITHER #define PNG_NO_READ_INVERT #define PNG_NO_READ_SHIFT diff --git a/contrib/visupng/VisualPng.dsp b/contrib/visupng/VisualPng.dsp index 53ef5a2bc..741ef6ce7 100644 --- a/contrib/visupng/VisualPng.dsp +++ b/contrib/visupng/VisualPng.dsp @@ -43,9 +43,9 @@ RSC=rc.exe # PROP Intermediate_Dir "Release" # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /O2 /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "NDEBUG" /D "PNG_NO_STDIO" /D "PNG_NO_GLOBAL_ARRAYS" /FD /c +# ADD BASE CPP /nologo /W3 /O2 /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "NDEBUG" /D "PNG_NO_STDIO" /FD /c # SUBTRACT BASE CPP /YX -# ADD CPP /nologo /MD /W3 /O2 /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "NDEBUG" /D "PNG_NO_STDIO" /D "PNG_NO_GLOBAL_ARRAYS" /FD /c +# ADD CPP /nologo /MD /W3 /O2 /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "NDEBUG" /D "PNG_NO_STDIO" /FD /c # SUBTRACT CPP /YX # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 @@ -77,9 +77,9 @@ PostBuild_Cmds=$(outdir)\VisualPng.exe ..\..\contrib\pngsuite\basn6a16.png # PROP Intermediate_Dir "Debug" # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /ZI /Od /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "_DEBUG" /D "PNG_NO_STDIO" /D "PNG_NO_GLOBAL_ARRAYS" /FD /GZ /c +# ADD BASE CPP /nologo /W3 /Gm /ZI /Od /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "_DEBUG" /D "PNG_NO_STDIO" /FD /GZ /c # SUBTRACT BASE CPP /YX -# ADD CPP /nologo /MDd /W3 /Gm /ZI /Od /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "_DEBUG" /D "PNG_NO_STDIO" /D "PNG_NO_GLOBAL_ARRAYS" /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /ZI /Od /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "_DEBUG" /D "PNG_NO_STDIO" /FD /GZ /c # SUBTRACT CPP /YX # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32