On Fri, Jun 29, 2012 at 09:25:17AM +0200, Sascha Hauer wrote:
> >  
> > +#if __BYTE_ORDER != __LITTLE_ENDIAN && __BYTE_ORDER != __BIG_ENDIAN
> > +#error "__BYTE_ORDER must be __LITTLE_ENDIAN or __BIG_ENDIAN"
> > +#endif
> 
> On Big Endian systems __LITTLE_ENDIAN is undefined and this results in:
> 
> In file included from common/environment.c:37:
> include/envfs.h:41:21: warning: "__LITTLE_ENDIAN" is not defined

In the meantime I applied my original patch. Please let me know if there
is something wrong with it, we can still change it.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to