Skip to content

Instantly share code, notes, and snippets.

@sho-h
Created December 28, 2011 04:29
Show Gist options
  • Save sho-h/1526270 to your computer and use it in GitHub Desktop.
Save sho-h/1526270 to your computer and use it in GitHub Desktop.
--- ruby-1.8.5-p231/math.c 2007-02-13 08:01:19.000000000 +0900
+++ ruby-1.8.5-p231-fixed/math.c 2008-07-02 18:25:48.000000000 +0900
@@ -34,7 +34,7 @@
if (isnan(x)) {
#if defined(EDOM)
errno = EDOM;
-#elif define(ERANGE)
+#elif defined(ERANGE)
errno = ERANGE;
#endif
continue;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment