[MLton-commit] r7381

Wesley Terpstra wesley at mlton.org
Fri Dec 11 16:52:20 PST 2009


Under Snow Leopard, the ucontext structure is only available if 
_XOPEN_SOURCE is defined.


----------------------------------------------------------------------

U   mlton/trunk/runtime/platform/darwin.h

----------------------------------------------------------------------

Modified: mlton/trunk/runtime/platform/darwin.h
===================================================================
--- mlton/trunk/runtime/platform/darwin.h	2009-12-11 19:51:40 UTC (rev 7380)
+++ mlton/trunk/runtime/platform/darwin.h	2009-12-12 00:52:19 UTC (rev 7381)
@@ -1,3 +1,5 @@
+#define _XOPEN_SOURCE
+
 #include <fenv.h>
 #include <inttypes.h>
 #include <stdint.h>




More information about the MLton-commit mailing list