Debian Codegraph @

xml/config.h.in

raw
1 /*
2 * "$Id: config.h.in 408 2010-09-19 05:26:46Z mike $"
3 *
4 * Configuration file for Mini-XML, a small XML-like file parsing library.
5 *
6 * Copyright 2003-2010 by Michael R Sweet.
7 *
8 * These coded instructions, statements, and computer programs are the
9 * property of Michael R Sweet and are protected by Federal copyright
10 * law. Distribution and use rights are outlined in the file "COPYING"
11 * which should have been included with this file. If this file is
12 * missing or damaged, see the license at:
13 *
14 * http://www.minixml.org/
15 */
16
17 /*
18 * Include necessary headers...
19 */
20
21 #include <stdio.h>
22 #include <stdlib.h>
23 #include <string.h>
24 #include <stdarg.h>
25 #include <ctype.h>
26
27
28 /*
29 * Version number...
30 */
31
32 #define MXML_VERSION ""
33
34
35 /*
36 * Inline function support...
37 */
38
39 #define inline
40
41
42 /*
43 * Long long support...
44 */
45
46 #undef HAVE_LONG_LONG
47
48
49 /*
50 * Do we have the snprintf() and vsnprintf() functions?
51 */
52
53 #undef HAVE_SNPRINTF
54 #undef HAVE_VSNPRINTF
55
56
57 /*
58 * Do we have the strXXX() functions?
59 */
60
61 #undef HAVE_STRDUP
62
63
64 /*
65 * Do we have threading support?
66 */
67
68 #undef HAVE_PTHREAD_H
69
70
71 /*
72 * Define prototypes for string functions as needed...
73 */
74
75 # ifndef HAVE_STRDUP
76 extern char *_mxml_strdup(const char *);
77 # define strdup _mxml_strdup
78 # endif /* !HAVE_STRDUP */
79
80 extern char *_mxml_strdupf(const char *, ...);
81 extern char *_mxml_vstrdupf(const char *, va_list);
82
83 # ifndef HAVE_SNPRINTF
84 extern int _mxml_snprintf(char *, size_t, const char *, ...);
85 # define snprintf _mxml_snprintf
86 # endif /* !HAVE_SNPRINTF */
87
88 # ifndef HAVE_VSNPRINTF
89 extern int _mxml_vsnprintf(char *, size_t, const char *, va_list);
90 # define vsnprintf _mxml_vsnprintf
91 # endif /* !HAVE_VSNPRINTF */
92
93 /*
94 * End of "$Id: config.h.in 408 2010-09-19 05:26:46Z mike $".
95 */