|
Message-Id: <1459823023-5951-1-git-send-email-masanori.ogino@gmail.com> Date: Tue, 5 Apr 2016 11:23:43 +0900 From: Masanori Ogino <masanori.ogino@...il.com> To: musl@...ts.openwall.com Cc: Masanori Ogino <masanori.ogino@...il.com> Subject: [PATCH v2] Add stdc-predef.h. 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 <masanori.ogino@...il.com> --- 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
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.