11 #ifndef RUBY_MISSING_H 12 #define RUBY_MISSING_H 1 14 #if defined(__cplusplus) 21 #include "ruby/config.h" 24 #ifdef RUBY_ALTERNATIVE_MALLOC_HEADER 25 # include RUBY_ALTERNATIVE_MALLOC_HEADER 28 #include RUBY_EXTCONF_H 31 #if !defined(HAVE_STRUCT_TIMEVAL) || !defined(HAVE_STRUCT_TIMESPEC) 32 #if defined(HAVE_TIME_H) 35 #if defined(HAVE_SYS_TIME_H) 36 # include <sys/time.h> 41 # define M_PI 3.14159265358979323846 44 # define M_PI_2 (M_PI/2) 47 #ifndef RUBY_SYMBOL_EXPORT_BEGIN 48 # define RUBY_SYMBOL_EXPORT_BEGIN 49 # define RUBY_SYMBOL_EXPORT_END 52 #if !defined(HAVE_STRUCT_TIMEVAL) 59 #if !defined(HAVE_STRUCT_TIMESPEC) 66 #if !defined(HAVE_STRUCT_TIMEZONE) 77 #define RUBY_EXTERN extern 131 #ifndef HAVE_LGAMMA_R 139 #if !defined(HAVE_INFINITY) || !defined(HAVE_NAN) 141 unsigned char bytesequence[4];
149 # define INFINITY (rb_infinity.float_value) 155 # define NAN (rb_nan.float_value) 160 # if defined(HAVE_FINITE) && defined(HAVE_ISNAN) 161 # ifdef HAVE_IEEEFP_H 164 # define isinf(x) (!finite(x) && !isnan(x)) 178 # ifndef HAVE_ISFINITE 179 # define HAVE_ISFINITE 1 180 # define isfinite(x) finite(x) 184 #ifndef HAVE_NEXTAFTER 209 #ifndef HAVE_STRERROR 234 #include <sys/types.h> 235 #include <sys/socket.h> 242 #ifndef HAVE_SETPROCTITLE 246 #ifndef HAVE_EXPLICIT_BZERO 248 # if defined SecureZeroMemory 249 # define explicit_bzero(b, len) SecureZeroMemory(b, len) 255 #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)
RUBY_EXTERN const union bytesequence4_or_float rb_infinity
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 void explicit_bzero(void *b, size_t len)
RUBY_EXTERN double tgamma(double)
RUBY_EXTERN void * memmove(void *, const void *, size_t)
RUBY_EXTERN double lgamma_r(double, int *)
RUBY_EXTERN char * strstr(const char *, const char *)
RUBY_EXTERN int flock(int, int)
RUBY_EXTERN char * strrchr(const char *, int)
RUBY_SYMBOL_EXPORT_BEGIN RUBY_EXTERN double acosh(double)
RUBY_EXTERN double erfc(double)
RUBY_EXTERN int isinf(double)
RUBY_EXTERN const union bytesequence4_or_float rb_nan
RUBY_EXTERN double atanh(double)
#define RUBY_SYMBOL_EXPORT_END
RUBY_EXTERN double hypot(double, double)
#define RUBY_SYMBOL_EXPORT_BEGIN
RUBY_EXTERN double asinh(double)
RUBY_EXTERN size_t strlcpy(char *, const char *, size_t)
RUBY_EXTERN char * strchr(const char *, int)
register unsigned int len
int ruby_shutdown(int s, int how)
RUBY_EXTERN double round(double)
RUBY_EXTERN char * strerror(int)
RUBY_EXTERN double nextafter(double x, double y)
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)