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

Diff for /mandoc/Attic/config.h.post between version 1.5 and 1.11

version 1.5, 2012/03/24 06:23:14 version 1.11, 2014/08/05 12:50:52
Line 1 
Line 1 
 #include <sys/types.h>  
   
 #if !defined(__BEGIN_DECLS)  #if !defined(__BEGIN_DECLS)
 #  ifdef __cplusplus  #  ifdef __cplusplus
 #  define       __BEGIN_DECLS           extern "C" {  #  define       __BEGIN_DECLS           extern "C" {
Line 15 
Line 13 
 #  endif  #  endif
 #endif  #endif
   
 #if defined(__APPLE__)  #ifndef HAVE_FGETLN
 # define htobe32(x) OSSwapHostToBigInt32(x)  extern  char     *fgetln(FILE *, size_t *);
 # define betoh32(x) OSSwapBigToHostInt32(x)  
 # define htobe64(x) OSSwapHostToBigInt64(x)  
 # define betoh64(x) OSSwapBigToHostInt64(x)  
 #elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)  
 # define betoh32(x) be32toh(x)  
 # define betoh64(x) be64toh(x)  
 #elif defined(__OpenBSD__)  
 /* Nothing */  
 #else  
 /* XXX Fallback */  
 #endif  #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  #ifndef HAVE_STRLCAT
 extern  size_t    strlcat(char *, const char *, size_t);  extern  size_t    strlcat(char *, const char *, size_t);
 #endif  #endif
 #ifndef HAVE_STRLCPY  #ifndef HAVE_STRLCPY
 extern  size_t    strlcpy(char *, const char *, size_t);  extern  size_t    strlcpy(char *, const char *, size_t);
 #endif  #endif
 #ifndef HAVE_GETSUBOPT  #ifndef HAVE_STRSEP
 extern  int       getsubopt(char **, char * const *, char **);  extern  char     *strsep(char **, const char *);
 extern  char     *suboptarg;  
 #endif  
 #ifndef HAVE_FGETLN  
 extern  char     *fgetln(FILE *, size_t *);  
 #endif  #endif
   
 #endif /* MANDOC_CONFIG_H */  #endif /* MANDOC_CONFIG_H */

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.11

CVSweb