http://d.puremagic.com/issues/show_bug.cgi?id=5319

           Summary: rt.critical/monitor: Add support for Solaris
           Product: D
           Version: D2
          Platform: All
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: s...@invisibleduck.org
        ReportedBy: ibuc...@ubuntu.com


--- Comment #0 from Iain Buclaw <ibuc...@ubuntu.com> 2010-12-04 14:02:41 PST ---
Patch:

--- druntime-trunk~/src/rt/critical.c    2010-08-05 09:59:36.000000000 +0100
+++ druntime-trunk/src/rt/critical.c    2010-12-04 21:45:34.417486613 +0000
@@ -82,7 +82,7 @@

 /* ================================= linux ============================ */

-#if linux || __APPLE__ || __FreeBSD__
+#if linux || __APPLE__ || __FreeBSD__ || __sun&&__SVR4

 #include <stdio.h>
 #include <stdlib.h>
--- druntime-trunk~/src/rt/monitor.c    2010-08-05 09:59:36.000000000 +0100
+++ druntime-trunk/src/rt/monitor.c    2010-12-04 21:42:17.513486612 +0000
@@ -15,7 +15,7 @@
 #include <assert.h>

 #if _WIN32
-#elif linux || __APPLE__ || __FreeBSD__
+#elif linux || __APPLE__ || __FreeBSD__ || __sun&&__SVR4
 #define USE_PTHREADS    1
 #else
 #endif

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to