Revision 20735,
1.3 KB
checked in by ghudson, 20 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r20734,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | /* |
---|
2 | * libxml.h: internal header only used during the compilation of libxml |
---|
3 | * |
---|
4 | * See COPYRIGHT for the status of this software |
---|
5 | * |
---|
6 | * Author: breese@users.sourceforge.net |
---|
7 | */ |
---|
8 | |
---|
9 | #ifndef __XML_LIBXML_H__ |
---|
10 | #define __XML_LIBXML_H__ |
---|
11 | |
---|
12 | #ifndef NO_LARGEFILE_SOURCE |
---|
13 | #ifndef _LARGEFILE_SOURCE |
---|
14 | #define _LARGEFILE_SOURCE |
---|
15 | #endif |
---|
16 | #ifndef _FILE_OFFSET_BITS |
---|
17 | #define _FILE_OFFSET_BITS 64 |
---|
18 | #endif |
---|
19 | #endif |
---|
20 | |
---|
21 | #if defined(macintosh) |
---|
22 | #include "config-mac.h" |
---|
23 | #else |
---|
24 | #include "config.h" |
---|
25 | #include <libxml/xmlversion.h> |
---|
26 | #endif |
---|
27 | |
---|
28 | #ifndef WITH_TRIO |
---|
29 | #include <stdio.h> |
---|
30 | #else |
---|
31 | /** |
---|
32 | * TRIO_REPLACE_STDIO: |
---|
33 | * |
---|
34 | * This macro is defined if teh trio string formatting functions are to |
---|
35 | * be used instead of the default stdio ones. |
---|
36 | */ |
---|
37 | #define TRIO_REPLACE_STDIO |
---|
38 | #include "trio.h" |
---|
39 | #endif |
---|
40 | |
---|
41 | /* |
---|
42 | * Internal variable indicating if a callback has been registered for |
---|
43 | * node creation/destruction. It avoids spending a lot of time in locking |
---|
44 | * function while checking if the callback exists. |
---|
45 | */ |
---|
46 | extern int __xmlRegisterCallbacks; |
---|
47 | /* |
---|
48 | * internal error reporting routines, shared but not partof the API. |
---|
49 | */ |
---|
50 | void __xmlIOErr(int domain, int code, const char *extra); |
---|
51 | void __xmlLoaderErr(void *ctx, const char *msg, const char *filename); |
---|
52 | |
---|
53 | #ifdef IN_LIBXML |
---|
54 | #ifdef __GNUC__ |
---|
55 | #ifdef PIC |
---|
56 | #ifdef linux |
---|
57 | #include "elfgcchack.h" |
---|
58 | #endif |
---|
59 | #endif |
---|
60 | #endif |
---|
61 | #endif |
---|
62 | #endif /* ! __XML_LIBXML_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.