diff dmd/mtype.c @ 900:177afbf5297b

Solaris compatibility and proc map parsing #183, thanks BlueZeniX!
author Christian Kamm <kamm incasoftware de>
date Thu, 22 Jan 2009 18:53:32 +0100
parents 1c2faa8325d1
children 29c0d1194033
line wrap: on
line diff
--- a/dmd/mtype.c	Thu Jan 22 18:23:30 2009 +0100
+++ b/dmd/mtype.c	Thu Jan 22 18:53:32 2009 +0100
@@ -45,8 +45,10 @@
 static double zero = 0;
 #elif __GNUC__
 #include <math.h>
+#if !(defined (__SVR4) && defined (__sun))
 #include <bits/nan.h>
 #include <bits/mathdef.h>
+#endif
 static double zero = 0;
 #endif