aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config/tilepro
diff options
context:
space:
mode:
authorWalter Lee <walt@tilera.com>2014-01-25 20:37:01 +0000
committerWalter Lee <walt@gcc.gnu.org>2014-01-25 20:37:01 +0000
commita5420aa44e7f5ebf87e238226b50cd78e9f82ea9 (patch)
treee1f957da9b8304e32cb5d91db38d0665df565db1 /libgcc/config/tilepro
parent24534912f71bd6064554ed73702820528a7fe678 (diff)
downloadgcc-a5420aa44e7f5ebf87e238226b50cd78e9f82ea9.zip
gcc-a5420aa44e7f5ebf87e238226b50cd78e9f82ea9.tar.gz
gcc-a5420aa44e7f5ebf87e238226b50cd78e9f82ea9.tar.bz2
atomic.c: Include tconfig.h.
2014-01-25 Walter Lee <walt@tilera.com> * config/tilepro/atomic.c: Include tconfig.h. Don't include config.h or system.h. (bool) Define. From-SVN: r207088
Diffstat (limited to 'libgcc/config/tilepro')
-rw-r--r--libgcc/config/tilepro/atomic.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libgcc/config/tilepro/atomic.c b/libgcc/config/tilepro/atomic.c
index 2df73b5..66ef8fd 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
<http://www.gnu.org/licenses/>. */
-#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. */