mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
8f30c4da04
Why would an XML library need to know about endianess anyway ?? Prodded by, long time ago: ahze
100 lines
2.6 KiB
C
100 lines
2.6 KiB
C
/* $FreeBSD$ */
|
|
|
|
#include <machine/endian.h>
|
|
|
|
/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */
|
|
#if BYTE_ORDER == LITTLE_ENDIAN
|
|
#define BYTEORDER 1234
|
|
#else
|
|
#define BYTEORDER 4321
|
|
#endif
|
|
|
|
/* Define to 1 if you have the `bcopy' function. */
|
|
#define HAVE_BCOPY 1
|
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
#define HAVE_DLFCN_H 1
|
|
|
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
|
#define HAVE_FCNTL_H 1
|
|
|
|
/* Define to 1 if you have the `getpagesize' function. */
|
|
#define HAVE_GETPAGESIZE 1
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#define HAVE_INTTYPES_H 1
|
|
|
|
/* Define to 1 if you have the `memmove' function. */
|
|
#define HAVE_MEMMOVE 1
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#define HAVE_MEMORY_H 1
|
|
|
|
/* Define to 1 if you have a working `mmap' system call. */
|
|
#define HAVE_MMAP 1
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#define HAVE_STDINT_H 1
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#define HAVE_STDLIB_H 1
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#define HAVE_STRINGS_H 1
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#define HAVE_STRING_H 1
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#define HAVE_SYS_STAT_H 1
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#define HAVE_SYS_TYPES_H 1
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#define HAVE_UNISTD_H 1
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#define PACKAGE_BUGREPORT "expat-bugs@mail.libexpat.org"
|
|
|
|
/* Define to the full name of this package. */
|
|
#define PACKAGE_NAME "expat"
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#define PACKAGE_STRING "expat 1.95.5"
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#define PACKAGE_TARNAME "expat"
|
|
|
|
/* Define to the version of this package. */
|
|
#define PACKAGE_VERSION "1.95.5"
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
#define STDC_HEADERS 1
|
|
|
|
/* whether byteorder is bigendian */
|
|
#if BYTE_ORDER == BIG_ENDIAN
|
|
#define WORDS_BIGENDIAN
|
|
#else
|
|
#undef WORDS_BIGENDIAN
|
|
#endif
|
|
|
|
/* Define to specify how much context to retain around the current parse
|
|
point. */
|
|
#define XML_CONTEXT_BYTES 1024
|
|
|
|
/* Define to make parameter entity parsing functionality available. */
|
|
#define XML_DTD 1
|
|
|
|
/* Define to make XML Namespaces functionality available. */
|
|
#define XML_NS 1
|
|
|
|
/* Define to empty if `const' does not conform to ANSI C. */
|
|
/* #undef const */
|
|
|
|
/* Define to `long' if <sys/types.h> does not define. */
|
|
/* #undef off_t */
|
|
|
|
/* Define to `unsigned' if <sys/types.h> does not define. */
|
|
/* #undef size_t */
|