Deleted Added
full compact
config.h (282316) config.h (294113)
1#ifdef __cplusplus
2#error "Do not use C++. See the INSTALL file."
3#endif
4
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>
5#ifndef MANDOC_CONFIG_H
6#define MANDOC_CONFIG_H
7
8#if defined(__linux__) || defined(__MINT__)
9#define _GNU_SOURCE /* See test-*.c what needs this. */
10#endif
11
12#include <sys/types.h>
13#include <stdio.h>
9
14
15#define MAN_CONF_FILE "/etc/man.conf"
10#define HAVE_DIRENT_NAMLEN 1
16#define HAVE_DIRENT_NAMLEN 1
11#define HAVE_FGETLN 1
17#define HAVE_ERR 1
12#define HAVE_FTS 1
18#define HAVE_FTS 1
19#define HAVE_GETLINE 1
13#define HAVE_GETSUBOPT 1
20#define HAVE_GETSUBOPT 1
21#define HAVE_ISBLANK 1
22#define HAVE_MKDTEMP 1
14#define HAVE_MMAP 1
23#define HAVE_MMAP 1
24#define HAVE_PLEDGE 0
25#define HAVE_PROGNAME 1
15#define HAVE_REALLOCARRAY 1
26#define HAVE_REALLOCARRAY 1
27#define HAVE_REWB_BSD 0
28#define HAVE_REWB_SYSV 0
16#define HAVE_STRCASESTR 1
29#define HAVE_STRCASESTR 1
30#define HAVE_STRINGLIST 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
31#define HAVE_STRLCAT 1
32#define HAVE_STRLCPY 1
33#define HAVE_STRPTIME 1
34#define HAVE_STRSEP 1
35#define HAVE_STRTONUM 1
36#define HAVE_VASPRINTF 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"
37#define HAVE_WCHAR 1
38#define HAVE_SQLITE3 1
39#define HAVE_SQLITE3_ERRSTR 0
40#define HAVE_OHASH 1
41#define HAVE_MANPATH 1
42
43#define BINM_APROPOS "apropos"
44#define BINM_MAKEWHATIS "makewhatis"
29#define BINM_MAN "man"
45#define BINM_MAN "man"
46#define BINM_SOELIM "soelim"
30#define BINM_WHATIS "whatis"
47#define BINM_WHATIS "whatis"
31#define BINM_MAKEWHATIS "makewhatis"
32
48
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
48extern void *reallocarray(void *, size_t, size_t);
49extern ssize_t getline(char **, size_t *, FILE *);
49extern const char *sqlite3_errstr(int);
50
51#endif /* MANDOC_CONFIG_H */
50extern const char *sqlite3_errstr(int);
51
52#endif /* MANDOC_CONFIG_H */