11 #ifndef RUBY_MISSING_H 12 #define RUBY_MISSING_H 1 14 #if defined(__cplusplus) 21 #include "ruby/config.h" 24 #include RUBY_EXTCONF_H 27 #if !defined(HAVE_STRUCT_TIMEVAL) || !defined(HAVE_STRUCT_TIMESPEC) 28 #if defined(HAVE_TIME_H) 31 #if defined(HAVE_SYS_TIME_H) 32 # include <sys/time.h> 36 #if !defined(HAVE_STRUCT_TIMEVAL) 43 #if !defined(HAVE_STRUCT_TIMESPEC) 50 #if !defined(HAVE_STRUCT_TIMEZONE) 61 #define RUBY_EXTERN extern 64 #if defined __GNUC__ && __GNUC__ >= 4 65 #pragma GCC visibility push(default) 117 #ifndef HAVE_LGAMMA_R 126 # define HAVE_INFINITY 130 # define INFINITY (*(float *)rb_infinity) 138 # define NAN (*(float *)rb_nan) 143 # if defined(HAVE_FINITE) && defined(HAVE_ISNAN) 144 # ifdef HAVE_IEEEFP_H 147 # define isinf(x) (!finite(x) && !isnan(x)) 181 #ifndef HAVE_STRERROR 212 #include <sys/types.h> 213 #include <sys/socket.h> 220 #ifndef HAVE_SETPROCTITLE 224 #if defined __GNUC__ && __GNUC__ >= 4 225 #pragma GCC visibility pop 228 #if defined(__cplusplus)
RUBY_EXTERN double cbrt(double)
int ruby_getpeername(int s, struct sockaddr *name, socklen_t *namelen)
RUBY_EXTERN int signbit(double x)
int ruby_getsockname(int s, struct sockaddr *name, socklen_t *namelen)
RUBY_EXTERN char * crypt(const char *, const char *)
RUBY_EXTERN int eaccess(const char *, int)
RUBY_EXTERN int finite(double)
RUBY_EXTERN double tgamma(double)
RUBY_EXTERN void * memmove(void *, const void *, size_t)
RUBY_EXTERN double lgamma_r(double, int *)
RUBY_EXTERN const unsigned char rb_nan[]
RUBY_EXTERN char * strstr(const char *, const char *)
RUBY_EXTERN int flock(int, int)
RUBY_EXTERN char * strrchr(const char *, int)
RUBY_EXTERN double erfc(double)
RUBY_EXTERN int isinf(double)
RUBY_EXTERN const unsigned char rb_infinity[]
RUBY_EXTERN double atanh(double)
RUBY_EXTERN double hypot(double, double)
RUBY_EXTERN double asinh(double)
RUBY_EXTERN size_t strlcpy(char *, const char *, size_t)
RUBY_EXTERN char * strchr(const char *, int)
int ruby_shutdown(int s, int how)
RUBY_EXTERN double round(double)
RUBY_EXTERN char * strerror(int)
RUBY_EXTERN double acosh(double)
RUBY_EXTERN size_t strlcat(char *, const char *, size_t)
RUBY_EXTERN int dup2(int, int)
RUBY_EXTERN int isnan(double)
RUBY_EXTERN void setproctitle(const char *fmt,...)
RUBY_EXTERN double erf(double)