]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
atomic.c: Include tconfig.h.
authorWalter Lee <walt@tilera.com>
Sat, 25 Jan 2014 20:37:01 +0000 (20:37 +0000)
committerWalter Lee <walt@gcc.gnu.org>
Sat, 25 Jan 2014 20:37:01 +0000 (20:37 +0000)
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

libgcc/ChangeLog
libgcc/config/tilepro/atomic.c

index 48253b232ac76a09f97876bce93bc37ca788cbb8..845c8f4faac2776bb1cc9af48179d0f0e9548a77 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2014-01-25  Walter Lee  <walt@tilera.com>
 
        * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
index 2df73b5116418b3eb9faa1db688ad5bae7bafed7..66ef8fd7daa90f9085d9b0d43f517709d2897afb 100644 (file)
    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.  */