config.h

来自「MINIXml 具有 解析、查找、生成、遍历 功能,一般不是太复杂的应用足够了。」· C头文件 代码 · 共 87 行

H
87
字号
/* * "$Id: config.h 265 2007-04-18 13:14:10Z mike $" * * Configuration file for Mini-XML, a small XML-like file parsing library. * * Copyright 2003-2007 by Michael Sweet. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. *//* * Beginning with VC2005, Microsoft breaks ISO C and POSIX conformance * by deprecating a number of functions in the name of security, even * when many of the affected functions are otherwise completely secure. * The _CRT_SECURE_NO_DEPRECATE definition ensures that we won't get * warnings from their use... */#define _CRT_SECURE_NO_DEPRECATE/* * Include necessary headers... */#include <stdio.h>#include <stdlib.h>#include <string.h>#include <stdarg.h>#include <ctype.h>/* * Version number... */#define MXML_VERSION "Mini-XML v2.3"/* * Do we have the snprintf() and vsnprintf() functions? *//*#undef HAVE_SNPRINTF *//*#undef HAVE_VSNPRINTF *//* * Do we have the strXXX() functions? */#define HAVE_STRDUP 1/* * Define prototypes for string functions as needed... */#  ifndef HAVE_STRDUPextern char	*mxml_strdup(const char *);#    define strdup mxml_strdup#  endif /* !HAVE_STRDUP */extern char	*mxml_strdupf(const char *, va_list);#  ifndef HAVE_SNPRINTFextern int	_mxml_snprintf(char *, size_t, const char *, ...);#    define snprintf _mxml_snprintf#  endif /* !HAVE_SNPRINTF */#  ifndef HAVE_VSNPRINTFextern int	mxml_vsnprintf(char *, size_t, const char *, va_list);#    define vsnprintf mxml_vsnprintf#  endif /* !HAVE_VSNPRINTF *//* * End of "$Id: config.h 265 2007-04-18 13:14:10Z mike $". */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?