From: Walter Lee Date: Sat, 25 Jan 2014 20:37:01 +0000 (+0000) Subject: atomic.c: Include tconfig.h. X-Git-Tag: releases/gcc-4.9.0~1351 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a5420aa44e7f5ebf87e238226b50cd78e9f82ea9;p=thirdparty%2Fgcc.git atomic.c: Include tconfig.h. 2014-01-25 Walter Lee * config/tilepro/atomic.c: Include tconfig.h. Don't include config.h or system.h. (bool) Define. From-SVN: r207088 --- diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 48253b232ac7..845c8f4faac2 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2014-01-25 Walter Lee + + * config/tilepro/atomic.c: Include tconfig.h. Don't include + config.h or system.h. + (bool) Define. + 2014-01-25 Walter Lee * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline. diff --git a/libgcc/config/tilepro/atomic.c b/libgcc/config/tilepro/atomic.c index 2df73b511641..66ef8fd7daa9 100644 --- a/libgcc/config/tilepro/atomic.c +++ b/libgcc/config/tilepro/atomic.c @@ -21,11 +21,12 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see . */ -#include "config.h" -#include "system.h" +#include "tconfig.h" #include "coretypes.h" #include "atomic.h" +#define bool unsigned char + /* This code should be inlined by the compiler, but for now support it as out-of-line methods in libgcc. */