commit | 4ad8e9f770424b88b6583946cfc41d56f10bcf89 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Thu Jul 02 19:23:25 2009 -0400 |
committer | Wolfgang Denk <wd@denx.de> | Sun Jul 19 21:41:46 2009 +0200 |
tree | 6770441ddc1bc0b9e662e2ea7102da8e10b62d61 | |
parent | 66b0726470d5394ea254462bb90d63eb2b7a77e4 [diff] |
compiler.h: unify system ifdef cruft here Shove a lot of the HOSTCC and related #ifdef checking crap into the new compiler.h header so that we can keep all other headers nice and clean. Also introduce custom uswap functions so we don't have to rely on the non standard implementations that a host may (or may not in the case of OS X) provide. This allows mkimage to finally build cleanly on an OS X system. Signed-off-by: Mike Frysinger <vapier@gentoo.org>