2014-12-02 23:24:57 +00:00
|
|
|
#ifndef MANDOC_CONFIG_H
|
|
|
|
#define MANDOC_CONFIG_H
|
2012-10-19 22:21:01 +00:00
|
|
|
|
|
|
|
#if defined(__linux__) || defined(__MINT__)
|
2014-12-02 23:24:57 +00:00
|
|
|
#define _GNU_SOURCE /* See test-*.c what needs this. */
|
2012-10-19 22:21:01 +00:00
|
|
|
#endif
|
|
|
|
|
2014-11-22 18:57:23 +00:00
|
|
|
#include <sys/types.h>
|
2012-10-19 22:21:01 +00:00
|
|
|
|
2014-12-02 23:24:57 +00:00
|
|
|
#define HAVE_DIRENT_NAMLEN 1
|
|
|
|
#define HAVE_FGETLN 1
|
|
|
|
#define HAVE_FTS 1
|
|
|
|
#define HAVE_GETSUBOPT 1
|
|
|
|
#define HAVE_MMAP 1
|
|
|
|
#define HAVE_REALLOCARRAY 0
|
|
|
|
#define HAVE_STRCASESTR 1
|
|
|
|
#define HAVE_STRLCAT 1
|
|
|
|
#define HAVE_STRLCPY 1
|
|
|
|
#define HAVE_STRPTIME 1
|
|
|
|
#define HAVE_STRSEP 1
|
2015-03-02 16:58:57 +00:00
|
|
|
#define HAVE_STRTONUM 1
|
2014-12-02 23:24:57 +00:00
|
|
|
#define HAVE_WCHAR 1
|
|
|
|
#define HAVE_SQLITE3 1
|
|
|
|
#define HAVE_SQLITE3_ERRSTR 0
|
|
|
|
#define HAVE_OHASH 1
|
|
|
|
#define HAVE_MANPATH 1
|
2012-10-18 09:55:16 +00:00
|
|
|
|
2014-12-25 21:56:56 +00:00
|
|
|
#define BINM_APROPOS "apropos"
|
|
|
|
#define BINM_MAN "man"
|
|
|
|
#define BINM_WHATIS "whatis"
|
|
|
|
#define BINM_MAKEWHATIS "makewhatis"
|
|
|
|
|
2012-10-18 09:55:16 +00:00
|
|
|
#if !defined(__BEGIN_DECLS)
|
|
|
|
# ifdef __cplusplus
|
|
|
|
# define __BEGIN_DECLS extern "C" {
|
|
|
|
# else
|
|
|
|
# define __BEGIN_DECLS
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
#if !defined(__END_DECLS)
|
|
|
|
# ifdef __cplusplus
|
|
|
|
# define __END_DECLS }
|
|
|
|
# else
|
|
|
|
# define __END_DECLS
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
2014-11-22 18:08:25 +00:00
|
|
|
extern void *reallocarray(void *, size_t, size_t);
|
|
|
|
extern const char *sqlite3_errstr(int);
|
2012-10-18 09:55:16 +00:00
|
|
|
|
|
|
|
#endif /* MANDOC_CONFIG_H */
|