From 37566090766d61beef70c62986b90749920255d8 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 2 Jul 2009 19:23:25 -0400 Subject: 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 --- tools/os_support.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/os_support.c') diff --git a/tools/os_support.c b/tools/os_support.c index 001fe64764..5b919aa867 100644 --- a/tools/os_support.c +++ b/tools/os_support.c @@ -19,6 +19,7 @@ /* * Include additional files required for supporting different operating systems */ +#include "compiler.h" #ifdef __MINGW32__ #include "mingw_support.c" #endif -- cgit v1.2.3