Re: [MLton-commit] r7381

Matthew Fluet <[email protected]>
Newsgroups gmane.comp.lang.ml.mlton.devel
Message-ID <[email protected]>
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 <[email protected]> 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
> [email protected]
> http://mlton.org/mailman/listinfo/mlton-commit
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.