Skip to content
Snippets Groups Projects
Commit 37566090 authored by Mike Frysinger's avatar Mike Frysinger Committed by Wolfgang Denk
Browse files

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: default avatarMike Frysinger <vapier@gentoo.org>
parent 2a2ed845
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment