From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10073 Path: news.gmane.org!not-for-mail From: Masanori Ogino Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH v2] Add stdc-predef.h. Date: Wed, 01 Jun 2016 08:21:17 +0000 Message-ID: References: <1459823023-5951-1-git-send-email-masanori.ogino@gmail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113d14c2fec9b20534332c34 X-Trace: ger.gmane.org 1464769310 15530 80.91.229.3 (1 Jun 2016 08:21:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jun 2016 08:21:50 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10086-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jun 01 10:21:47 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1b81PO-0003l5-OI for gllmg-musl@m.gmane.org; Wed, 01 Jun 2016 10:21:46 +0200 Original-Received: (qmail 11595 invoked by uid 550); 1 Jun 2016 08:21:44 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 11548 invoked from network); 1 Jun 2016 08:21:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=nXFwUmcWmkBlyRNI8MPnQxRUjn5w0yG2agcyjKKeTP4=; b=ymskHIWLJSPc1+K3FULNKDyB+JzZgZ41KkA9r7G5FdLFzMPYbztX8lHzP7iP8fu9o5 x/978xpyO1n00ztAXUxwbWZTau/wJQ9OwbeWVe680roPti8xNcKaI2mWCAw8lBaKqkid 1EFNKL+0dC+CyOSvpl68r/23uZw9mthMH1YLNXyHuYUf01DrVQ8sjKtrLotOiRooQt3C k/0NqDBu6Ggj0VDQECVDo95ShAwPvfGwqT7xDr3nGT9lRhqNGjjxEunHI8k7s24B41eB /DFx2sOMdGRNsoszk+FEo5rK8gg0gIkBSmzOOcYBiReeiqbTyUN9QB0j/TGLhMNiDsNL zD4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=nXFwUmcWmkBlyRNI8MPnQxRUjn5w0yG2agcyjKKeTP4=; b=BtnMiGqM0hC8f9gScdvj0tpg1X2zFWjjb5ISInclNyg6/ziYwRnPHwCVcqra/CaVLp cebdLfafImH00VsGtmQkR5YfRGqi8FEyk3JNUvF6pa/UnY9NDyyKy3u4MXLGbtW9iTVM VzHcgIRmWNIneYAhIlfbku7FSMncqiVq+s6hGaoxkfFBxh+8UsMTMZPwt0B1RFKiIJEP qFqYtSmsn/MKKIi5kvRUF0S29AVBKNP9p6MDWMSV+PBNIa+vV08T7kT+STVplHJf9eI8 pPxi5VgQBvlsDqj7VCS17/VWEK4jzXdl1Vmjr0G/zLAKaUNWFzsJ83D/N6p4GpXzuR85 Br0g== X-Gm-Message-State: ALyK8tKgiREIP1elubunedbgm1JKLHpsr9HvspVSscR8V9J59jijV05Jy/y/OetqNbZy4pPPWugu9dxK8YGToA== X-Received: by 10.157.15.226 with SMTP id m31mr1533429otd.46.1464769286423; Wed, 01 Jun 2016 01:21:26 -0700 (PDT) In-Reply-To: <1459823023-5951-1-git-send-email-masanori.ogino@gmail.com> Xref: news.gmane.org gmane.linux.lib.musl.general:10073 Archived-At: --001a113d14c2fec9b20534332c34 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2016=E5=B9=B44=E6=9C=885=E6=97=A5(=E7=81=AB) 11:23 Masanori Ogino : > Note that GCC does not support the "Annex G" complex arithmetic even > though __GCC_IEC_559_COMPLEX is defined. Thus, we leave > __STDC_IEC_559_COMPLEX__ undefined for now. > > Reference: http://www.openwall.com/lists/musl/2016/03/31/2 > > Signed-off-by: Masanori Ogino > --- > include/stdc-predef.h | 11 +++++++++++ > 1 file changed, 11 insertions(+) > create mode 100644 include/stdc-predef.h > > diff --git a/include/stdc-predef.h b/include/stdc-predef.h > new file mode 100644 > index 0000000..baa8a54 > --- /dev/null > +++ b/include/stdc-predef.h > @@ -0,0 +1,11 @@ > +#ifndef _STDC_PREDEF_H > +#define _STDC_PREDEF_H > + > +/* ISO/IEC 10646:2012, equivalent to Unicode 6.1 */ > +#define __STDC_ISO_10646__ 201206L > + > +#if __GCC_IEC_559 > 0 > +#define __STDC_IEC_559__ 1 > +#endif > + > +#endif > -- > 2.7.3 > > ping? --=20 Masanori Ogino --001a113d14c2fec9b20534332c34 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2016=E5=B9=B44=E6=9C=885=E6=97=A5(=E7=81=AB) 11:23 Masanor= i Ogino <masanori.ogino@gmai= l.com>:
Note that GCC does not support the "Annex G" complex arithmetic = even
though __GCC_IEC_559_COMPLEX is defined. Thus, we leave
__STDC_IEC_559_COMPLEX__ undefined for now.

Reference: http://www.openwall.com/lists/musl/2016/0= 3/31/2

Signed-off-by: Masanori Ogino <masanori.ogino@gmail.com>
---
=C2=A0include/stdc-predef.h | 11 +++++++++++
=C2=A01 file changed, 11 insertions(+)
=C2=A0create mode 100644 include/stdc-predef.h

diff --git a/include/stdc-predef.h b/include/stdc-predef.h
new file mode 100644
index 0000000..baa8a54
--- /dev/null
+++ b/include/stdc-predef.h
@@ -0,0 +1,11 @@
+#ifndef _STDC_PREDEF_H
+#define _STDC_PREDEF_H
+
+/* ISO/IEC 10646:2012, equivalent to Unicode 6.1 */
+#define __STDC_ISO_10646__ 201206L
+
+#if __GCC_IEC_559 > 0
+#define __STDC_IEC_559__ 1
+#endif
+
+#endif
--
2.7.3


ping?
--
Masanori Ogino
--001a113d14c2fec9b20534332c34--