[MLton] Re: [MLton-commit] r7381
Matthew Fluet
matthew.fluet at gmail.com
Fri Dec 11 23:28:21 PST 2009
Are you sure this is necessary? John Reppy has been compiling and
running MLton under Snow Leopard for a couple of months and only
required changing
#include <ucontext.h>
to
#include <sys/ucontext.h>
(r7231-7232).
On Fri, Dec 11, 2009 at 7:52 PM, Wesley Terpstra <wesley at mlton.org> wrote:
> 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>
>
>
> _______________________________________________
> MLton-commit mailing list
> MLton-commit at mlton.org
> http://mlton.org/mailman/listinfo/mlton-commit
>
More information about the MLton
mailing list