From patchwork Mon Feb 23 14:12:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georg-Johann Lay X-Patchwork-Id: 442542 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id BEE4C14017C for ; Tue, 24 Feb 2015 01:12:47 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:content-type; q=dns; s=default; b=b3VyM9gvYVSCfvSjZoTvFn/KvUPfCTT0XaAPnvhNqZh c/c88k6dfwhwuPNhDhwyaYE+JaCr+iXMdnChho93AMbrJFpGhKq8+54+rx7bD+r1 byYoDXWB+iwSzNqeRyEpIgE/ykjZuyGtXgzqtCjJYZQCrU842Jov7B4BqSX/QxYA = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:content-type; s=default; bh=GKcm+YPgIj5UoioiOvJM2iOst1M=; b=javgIL3mpD/hBgWwr 3heRyujtkj3nLsCSFLfnLI6YGbZFyt1SWMStTnOpReiyDQNPlDLLYxMd1WbYNgLH FOIW7Tuz1YAcVYH4T9cTqjHQJloUw8Ej2B6VXjgxmZNFL13X+tEmjZL8iioDu7xB Z+HFxS2RLSmxfnsXNHEvZNf5EM= Received: (qmail 29580 invoked by alias); 23 Feb 2015 14:12:39 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 29567 invoked by uid 89); 23 Feb 2015 14:12:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: mo4-p00-ob.smtp.rzone.de Received: from mo4-p00-ob.smtp.rzone.de (HELO mo4-p00-ob.smtp.rzone.de) (81.169.146.160) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 23 Feb 2015 14:12:36 +0000 X-RZG-AUTH: :LXoWVUeid/7A29J/hMvvT3ol15ykJcYwTPbBBR62PQx1xqvTHw== X-RZG-CLASS-ID: mo00 Received: from [192.168.0.22] (ip5b43a95f.dynamic.kabel-deutschland.de [91.67.169.95]) by smtp.strato.de (RZmta 37.3 DYNA|AUTH) with ESMTPSA id k07c6dr1NECXw0b (using TLSv1.2 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate); Mon, 23 Feb 2015 15:12:33 +0100 (CET) Message-ID: <54EB3551.8000300@gjlay.de> Date: Mon, 23 Feb 2015 15:12:33 +0100 From: Georg-Johann Lay User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: GCC Patches CC: Denis Chertykov Subject: [patch, avr] Include stdfix-avrlibc.h in stdfix.h X-IsSubscribed: yes This include stdfix-avrlibc.h in the avr-gcc specific stdfix.h. Ok for trunk? Johann gcc/ * config/avr/stdfix.h [__WITH_AVRLIBC__]: Include . Index: config/avr/stdfix.h =================================================================== --- config/avr/stdfix.h (revision 220854) +++ config/avr/stdfix.h (working copy) @@ -233,4 +233,13 @@ typedef long long unsigned int uint_uk_t #define roundfx __builtin_avr_roundfx #define countlsfx __builtin_avr_countlsfx + +/* Hook in stuff from AVR-Libc. */ + +#if (defined (__WITH_AVRLIBC__) \ + && defined (__has_include) \ + && __has_include ()) +#include +#endif + #endif /* _AVRGCC_STDFIX_H */