diff options
author | bapt <bapt@FreeBSD.org> | 2014-12-02 23:24:57 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-12-02 23:24:57 +0000 |
commit | 919f2a28755126f55b458d6553ac5e10b76203b3 (patch) | |
tree | 6b285eca5de51692bcaade66a629a2b84eadb8c7 /contrib/mdocml/config.h | |
parent | d24ff3fdf2f10c9b05c568b96812b7560b5c652a (diff) | |
parent | e00686f8f18c8c3eb3a800468a031699ed0bbc8f (diff) | |
download | FreeBSD-src-919f2a28755126f55b458d6553ac5e10b76203b3.zip FreeBSD-src-919f2a28755126f55b458d6553ac5e10b76203b3.tar.gz |
Update to mandoc cvs version as of 20141201
- Compatiblity with existing manpages has been improved
- Now support ".so" directive with compressed manpages (which fixes a regression
we have since we have new man(1))
Diffstat (limited to 'contrib/mdocml/config.h')
-rw-r--r-- | contrib/mdocml/config.h | 54 |
1 files changed, 19 insertions, 35 deletions
diff --git a/contrib/mdocml/config.h b/contrib/mdocml/config.h index c1d5951..0220c99 100644 --- a/contrib/mdocml/config.h +++ b/contrib/mdocml/config.h @@ -1,22 +1,29 @@ -#ifndef MANDOC_CONFIG_H -#define MANDOC_CONFIG_H +#ifndef MANDOC_CONFIG_H +#define MANDOC_CONFIG_H #if defined(__linux__) || defined(__MINT__) -# define _GNU_SOURCE /* getsubopt(), strcasestr(), strptime() */ +#define _GNU_SOURCE /* See test-*.c what needs this. */ #endif #include <sys/types.h> -#include <stdio.h> #define VERSION "1.13.1" -#define HAVE_FGETLN -#define HAVE_GETSUBOPT -#define HAVE_MMAP -#define HAVE_STRCASESTR -#define HAVE_STRLCAT -#define HAVE_STRLCPY -#define HAVE_STRPTIME -#define HAVE_STRSEP +#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 +#define HAVE_WCHAR 1 +#define HAVE_SQLITE3 1 +#define HAVE_SQLITE3_ERRSTR 0 +#define HAVE_OHASH 1 +#define HAVE_MANPATH 1 #if !defined(__BEGIN_DECLS) # ifdef __cplusplus @@ -33,30 +40,7 @@ # endif #endif -#ifndef HAVE_FGETLN -extern char *fgetln(FILE *, size_t *); -#endif -#ifndef HAVE_GETSUBOPT -extern int getsubopt(char **, char * const *, char **); -extern char *suboptarg; -#endif -#ifndef HAVE_REALLOCARRAY extern void *reallocarray(void *, size_t, size_t); -#endif -#ifndef HAVE_SQLITE3_ERRSTR extern const char *sqlite3_errstr(int); -#endif -#ifndef HAVE_STRCASESTR -extern char *strcasestr(const char *, const char *); -#endif -#ifndef HAVE_STRLCAT -extern size_t strlcat(char *, const char *, size_t); -#endif -#ifndef HAVE_STRLCPY -extern size_t strlcpy(char *, const char *, size_t); -#endif -#ifndef HAVE_STRSEP -extern char *strsep(char **, const char *); -#endif #endif /* MANDOC_CONFIG_H */ |