]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/mdocml/config.h
Import mdocml 1.13.3
[FreeBSD/FreeBSD.git] / contrib / mdocml / config.h
1 #ifndef MANDOC_CONFIG_H
2 #define MANDOC_CONFIG_H
3
4 #if defined(__linux__) || defined(__MINT__)
5 #define _GNU_SOURCE     /* See test-*.c what needs this. */
6 #endif
7
8 #include <sys/types.h>
9
10 #define HAVE_DIRENT_NAMLEN 1
11 #define HAVE_FGETLN 1
12 #define HAVE_FTS 1
13 #define HAVE_GETSUBOPT 1
14 #define HAVE_MMAP 1
15 #define HAVE_REALLOCARRAY 0
16 #define HAVE_STRCASESTR 1
17 #define HAVE_STRLCAT 1
18 #define HAVE_STRLCPY 1
19 #define HAVE_STRPTIME 1
20 #define HAVE_STRSEP 1
21 #define HAVE_STRTONUM 1
22 #define HAVE_WCHAR 1
23 #define HAVE_SQLITE3 1
24 #define HAVE_SQLITE3_ERRSTR 0
25 #define HAVE_OHASH 1
26 #define HAVE_MANPATH 1
27
28 #define BINM_APROPOS "apropos"
29 #define BINM_MAN "man"
30 #define BINM_WHATIS "whatis"
31 #define BINM_MAKEWHATIS "makewhatis"
32
33 #if !defined(__BEGIN_DECLS)
34 #  ifdef __cplusplus
35 #  define       __BEGIN_DECLS           extern "C" {
36 #  else
37 #  define       __BEGIN_DECLS
38 #  endif
39 #endif
40 #if !defined(__END_DECLS)
41 #  ifdef __cplusplus
42 #  define       __END_DECLS             }
43 #  else
44 #  define       __END_DECLS
45 #  endif
46 #endif
47
48 extern  void     *reallocarray(void *, size_t, size_t);
49 extern  const char *sqlite3_errstr(int);
50
51 #endif /* MANDOC_CONFIG_H */