⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 expat_config.h

📁 这是symbian下的实现XML解析的源代码。里面包括解析器和解析例子代码。
💻 H
字号:
/* 	Copyright 2000, Clark Cooper
   	All rights reserved.

   	This is free software. You are permitted to copy, distribute, or modify
   	it under the terms of the MIT/X license (contained in the COPYING file
   	with this distribution.)
*/

/*
	This is the header file for the symbian build options for the EXPAT parser
	
*/
// Symbian is little endian
#define BYTEORDER 1234

#undef HAVE_CHECK_H

/* We do not have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H

#define HAVE_FCNTL_H 1

// getpagesize function is in unistd.h
#define HAVE_GETPAGESIZE 1

/* The the <inttypes.h> header file is not present. */
#undef HAVE_INTTYPES_H

/* Symbian has memmove and also bcopy if not using strict ansi*/
#define HAVE_MEMMOVE 1

#undef HAVE_MEMORY_H

/* Symbian does not support the `mmap' system call. */
#undef HAVE_MMAP

/* Symbian  does not have the <stdint.h> header file. */
#undef HAVE_STDINT_H

/* But it does have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H

/* We do not have <strings.h> header file. */
#undef HAVE_STRINGS_H

/* But we do have the string.h> header file. */
#define HAVE_STRING_H 1

/* We have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* We  have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H

/* We have the <unistd.h> header file. */
#undef HAVE_UNISTD_H

/* we  have the ANSI C header files. */
#define STDC_HEADERS 1

/* Symbian is little endian */
#undef WORDS_BIGENDIAN

/* We do not use XML context buffers to save memory*/
#undef XML_CONTEXT_BYTES	

// We want unicode output for string etc
#define XML_UNICODE 1
//#define XML_UNICODE_WCHAR_T 1

/* We do not currently want DTD support. */
#undef XML_DTD

/* We want Namspace Support */
#define  XML_NS 1

/* Make sure const is defined at the compiler level and not defined */
#undef const

/* defined in sys\types.h */
#undef off_t

/* defined in sys\types.h */
#undef size_t

//#include <stdio.h>
#ifndef NULL
	#define NULL 0L
#endif

⌨️ 快捷键说明

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