[BACK]Return to config.h.post CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Annotation of mandoc/config.h.post, Revision 1.6.2.5

1.1       kristaps    1: #if !defined(__BEGIN_DECLS)
                      2: #  ifdef __cplusplus
                      3: #  define      __BEGIN_DECLS           extern "C" {
                      4: #  else
                      5: #  define      __BEGIN_DECLS
                      6: #  endif
                      7: #endif
                      8: #if !defined(__END_DECLS)
                      9: #  ifdef __cplusplus
                     10: #  define      __END_DECLS             }
                     11: #  else
                     12: #  define      __END_DECLS
                     13: #  endif
                     14: #endif
                     15:
1.6.2.1   schwarze   16: #ifndef HAVE_BETOH64
1.6.2.2   schwarze   17: #  if defined(__APPLE__)
                     18: #    define betoh64(x) OSSwapBigToHostInt64(x)
                     19: #    define htobe64(x) OSSwapHostToBigInt64(x)
1.6.2.3   schwarze   20: #  elif defined(__sun)
                     21: #    define betoh64(x) BE_64(x)
                     22: #    define htobe64(x) BE_64(x)
1.6.2.2   schwarze   23: #  else
                     24: #    define betoh64(x) be64toh(x)
                     25: #  endif
1.6.2.1   schwarze   26: #endif
1.6.2.2   schwarze   27:
1.6.2.5 ! schwarze   28: #ifndef HAVE_FGETLN
        !            29: extern char     *fgetln(FILE *, size_t *);
        !            30: #endif
        !            31: #ifndef HAVE_GETSUBOPT
        !            32: extern int       getsubopt(char **, char * const *, char **);
        !            33: extern char     *suboptarg;
        !            34: #endif
1.6.2.4   schwarze   35: #ifndef HAVE_STRCASESTR
                     36: extern char     *strcasestr(const char *, const char *);
                     37: #endif
1.1       kristaps   38: #ifndef HAVE_STRLCAT
                     39: extern size_t    strlcat(char *, const char *, size_t);
                     40: #endif
                     41: #ifndef HAVE_STRLCPY
                     42: extern size_t    strlcpy(char *, const char *, size_t);
1.6.2.4   schwarze   43: #endif
1.6.2.5 ! schwarze   44: #ifndef HAVE_STRNLEN
        !            45: extern size_t    strnlen(const char *, size_t);
        !            46: #endif
1.6.2.4   schwarze   47: #ifndef HAVE_STRSEP
                     48: extern char     *strsep(char **, const char *);
1.4       kristaps   49: #endif
1.1       kristaps   50:
                     51: #endif /* MANDOC_CONFIG_H */

CVSweb