Re: [U-Boot] Including stdlib.h / ldiv_t

2011-10-13 Thread Mike Frysinger
On Tuesday 27 September 2011 12:13:03 Simon Glass wrote: > On Mon, Sep 26, 2011 at 3:05 PM, Mike Frysinger wrote: > > On Monday, September 26, 2011 16:23:01 Simon Glass wrote: > >> At the moment including stdlib and including common.h are mutually > >> exclusive. This probably makes some sense (why

Re: [U-Boot] Including stdlib.h / ldiv_t

2011-09-27 Thread Simon Glass
Hi Mike, On Mon, Sep 26, 2011 at 3:05 PM, Mike Frysinger wrote: > On Monday, September 26, 2011 16:23:01 Simon Glass wrote: >> At the moment including stdlib and including common.h are mutually >> exclusive. This probably makes some sense (why would anyone include >> stdlib.h in U-Boot except wit

Re: [U-Boot] Including stdlib.h / ldiv_t

2011-09-26 Thread Mike Frysinger
On Monday, September 26, 2011 16:23:01 Simon Glass wrote: > At the moment including stdlib and including common.h are mutually > exclusive. This probably makes some sense (why would anyone include > stdlib.h in U-Boot except with hostcc?), but in that case we should > try to replace any need for st

[U-Boot] Including stdlib.h / ldiv_t

2011-09-26 Thread Simon Glass
Hi, Before I forget, in my travels recently I found this little bit of code in disk/part_mac.c: /* stdlib.h causes some compatibility problems; should fixe these! -- wd */ #ifndef __ldiv_t_defined typedef struct { long int quot; /* Quotient */ long int rem;