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