diff options
Diffstat (limited to 'math.c')
-rw-r--r-- | math.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -14,6 +14,10 @@ #include <math.h> #include <errno.h> +#if defined(HAVE_SIGNBIT) && defined(__GNUC__) && defined(__sun__) + extern int signbit(double x); +#endif + #define numberof(array) (int)(sizeof(array) / sizeof((array)[0])) VALUE rb_mMath; |