[jhc] patch for MacOS X
Mark Wotton
mwotton at gmail.com
Sun Aug 16 00:20:25 EDT 2009
Mon Aug 10 14:08:49 EST 2009 mwotton at gmail.com
* patch for MacOS X
according to this
http://lists.apple.com/archives/unix-porting/2008/Nov/msg00023.html
this is the portable way to include endian.h.
tested on Mac OS X 10.5.7 only.
New patches:
[patch for MacOS X
mwotton at gmail.com**20090810040849
according to this
http://lists.apple.com/archives/unix-porting/2008/Nov/msg00023.html
this is the portable way to include endian.h.
tested on Mac OS X 10.5.7 only.
] hunk ./src/data/rts/jhc_rts_header.h 17
#ifndef __WIN32__
#include <sys/select.h>
#include <sys/times.h>
-#include <endian.h>
+#include <sys/types.h>
+#include <sys/param.h>
#include <sys/utsname.h>
#endif
#include <setjmp.h>
Context:
[initialize CAFs statically, add hs_init and friends to the rts to be
compliant w
ith the FFI spec, allow compiling without generating a 'main'
John Meacham <john at repetae.net>**20090813053325
Ignore-this: 8970666bd27accca219beede653459da
]
[add 'System.Mem' to jhc library
John Meacham <john at repetae.net>**20090812074322
Ignore-this: f979802508f0976e350e9064b6701973
]
[clean up Main.hs
John Meacham <john at repetae.net>**20090812061523
Ignore-this: 75f574f8251cfcad6227bc48ac74b2f7
]
[enable the ho cache, start using it by default.
John Meacham <john at repetae.net>**20090812060012
Ignore-this: a0d4d4afae50f05d5ce16f5b654d2072
]
[use utf8-string routines in PackedString
John Meacham <john at repetae.net>**20090811165405
Ignore-this: ea852d2e75ba0cc13fe2c92723024565
]
[TAG krasyupheasy
John Meacham <john at repetae.net>**20090811155530
Ignore-this: c3ad24b76191a311e2fc81123c2fa1cf
]
[add '-E' option to run a file through the preprocessor (m4 or cpp)
John Meacham <john at repetae.net>**20090811154326
Ignore-this: 737d8e72b74d7e7c567466b1dc5dc221
]
[add wchar_t to the list of serializable types
John Meacham <john at repetae.net>**20090811154106
Ignore-this: 64d0ba2c1bf9ae8d54a05e093946ba08
]
More information about the jhc
mailing list