have HAVE_DECL_ if special and is set to 0 on failure
This commit is contained in:
@@ -312,7 +312,7 @@ const char * ROKEN_LIB_FUNCTION hstrerror(int);
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_DECL_H_ERRNO
|
#if HAVE_DECL_H_ERRNO
|
||||||
extern int h_errno;
|
extern int h_errno;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -509,13 +509,13 @@ int ROKEN_LIB_FUNCTION get_window_size(int fd, struct winsize *);
|
|||||||
void ROKEN_LIB_FUNCTION vsyslog(int, const char *, va_list);
|
void ROKEN_LIB_FUNCTION vsyslog(int, const char *, va_list);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_DECL_OPTARG
|
#if HAVE_DECL_OPTARG
|
||||||
extern char *optarg;
|
extern char *optarg;
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_DECL_OPTIND
|
#if HAVE_DECL_OPTIND
|
||||||
extern int optind;
|
extern int optind;
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_DECL_OPTERR
|
#if HAVE_DECL_OPTERR
|
||||||
extern int opterr;
|
extern int opterr;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -714,7 +714,7 @@ void ROKEN_LIB_FUNCTION setprogname(const char *);
|
|||||||
const char * ROKEN_LIB_FUNCTION getprogname(void);
|
const char * ROKEN_LIB_FUNCTION getprogname(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(HAVE_SETPROGNAME) && !defined(HAVE_GETPROGNAME) && !defined(HAVE_DECL___PROGNAME)
|
#if !defined(HAVE_SETPROGNAME) && !defined(HAVE_GETPROGNAME) && !HAVE_DECL___PROGNAME
|
||||||
extern const char *__progname;
|
extern const char *__progname;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user