4418N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4418N/A * This code is free software; you can redistribute it and/or modify it 4418N/A * under the terms of the GNU General Public License version 2 only, as 4418N/A * published by the Free Software Foundation. Oracle designates this 4418N/A * particular file as subject to the "Classpath" exception as provided 4418N/A * by Oracle in the LICENSE file that accompanied this code. 4418N/A * This code is distributed in the hope that it will be useful, but WITHOUT 4418N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 4418N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 4418N/A * version 2 for more details (a copy is included in the LICENSE file that 4418N/A * You should have received a copy of the GNU General Public License version 4418N/A * 2 along with this work; if not, write to the Free Software Foundation, 4418N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 4418N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 4418N/A * This file is available under and governed by the GNU General Public 4418N/A * License version 2 only, as published by the Free Software Foundation. 4418N/A * However, the following notice accompanied the original version of this 4418N/A * file and, per its terms, should not be removed: 4418N/A * Copyright (c) 1998-2011 Glenn Randers-Pehrson 4418N/A * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) 4418N/A * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) 4418N/A * Last changed in libpng 1.5.0 [January 6, 2011] 4418N/A * This code is released under the libpng license. 4418N/A * For conditions of distribution and use, see the disclaimer 4418N/A/* Define PNG_DEBUG at compile time for debugging information. Higher 4418N/A * numbers for PNG_DEBUG mean more debugging information. This has 4418N/A * only been added since version 0.95 so it is not implemented throughout 4418N/A * libpng yet, but more support will be added as needed. 4418N/A * png_debug[1-2]?(level, message ,arg{0-2}) 4418N/A * Expands to a statement (either a simple expression or a compound 4418N/A * do..while(0) statement) that outputs a message with parameter 4418N/A * substitution if PNG_DEBUG is defined to 2 or more. If PNG_DEBUG 4418N/A * is undefined, 0 or 1 every png_debug expands to a simple expression 4418N/A * level: level of detail of message, starting at 0. A level 'n' 4418N/A * message is preceded by 'n' tab characters (not implemented 4418N/A * on Microsoft compilers unless PNG_DEBUG_FILE is also 4418N/A * defined, to allow debug DLL compilation with no standard IO). 4418N/A * message: a printf(3) style text string. A trailing '\n' is added 4418N/A * arg: 0 to 2 arguments for printf(3) style substitution in message. 4418N/A#
else /* PNG_DEBUG_FILE || !_MSC_VER */ 4418N/A#
endif /* PNG_DEBUG_FILE */ 4418N/A/* Note: ["%s"m PNG_STRING_NEWLINE] probably does not work on 4418N/A#
endif /* (PNG_DEBUG > 1) */ 4418N/A#
endif /* (PNG_DEBUG > 0) */