00001 /* 00002 * GNT - The GLib Ncurses Toolkit 00003 * 00004 * GNT is the legal property of its developers, whose names are too numerous 00005 * to list here. Please refer to the COPYRIGHT file distributed with this 00006 * source distribution. 00007 * 00008 * This library is free software; you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation; either version 2 of the License, or 00011 * (at your option) any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with this program; if not, write to the Free Software 00020 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA 00021 */ 00022 #undef G_LOG_DOMAIN 00023 #define G_LOG_DOMAIN "Gnt" 00024 00025 #ifdef __GNUC__ 00026 # ifndef GNT_LOG_DOMAIN 00027 # define GNT_LOG_DOMAIN "" 00028 # endif 00029 # define gnt_warning(format, args...) g_warning("(%s) %s: " format, GNT_LOG_DOMAIN, __PRETTY_FUNCTION__, args) 00030 #else /* __GNUC__ */ 00031 # define gnt_warning g_warning 00032 #endif 00033