--- solvers/fpinitmt.c	2015-08-17 18:54:41.000000000 -0400
+++ solvers/fpinitmt.c.diff	2016-02-07 19:19:18.331896537 -0500
@@ -217,27 +217,6 @@
 #endif
 #endif
 
-#ifndef NO_matherr
-#ifdef __MINGW32__
-#define matherr _matherr
-#endif
-
- matherr_rettype
-matherr( struct _exception *e )
-{
-	switch(e->type) {
-	  case _DOMAIN:
-	  case _SING:
-		errno = set_errno(EDOM);
-		break;
-	  case _TLOSS:
-	  case _OVERFLOW:
-		errno = set_errno(ERANGE);
-	  }
-	return 0;
-	}
-#endif /*NO_matherr*/
-
 #ifdef Need_set_errno
 
  static int
