Hi Niels, Does it work if you put them in runtime.c, after the #include "runtime.h"? I'd rather not put these in a public header if I can avoid it, but I'd like to get the framework working on GNU.
David On 19 May 2009, at 14:41, Niels Grewe wrote: > On Mon, May 18, 2009 at 09:15:32PM +0100, David Chisnall wrote: >> Have fun! > > I am :-). I just would like to comment that on a GNU-system I had to > > #define __USE_UNIX98 > #define __USE_BSD > > The first makes pthreads behave as expected and the second exposes > strdup(), which is otherwise not provided by glibc. I put these in > runtime.h for my local use. What would one have to do in order to > conditionally define these in a portable fashion? > > kind regards, > > > Niels > > _______________________________________________ > Etoile-dev mailing list > [email protected] > https://mail.gna.org/listinfo/etoile-dev _______________________________________________ Etoile-dev mailing list [email protected] https://mail.gna.org/listinfo/etoile-dev
