Adding support for the MUSL C library

Josh Conner joshconner at google.com
Thu Dec 8 01:55:48 UTC 2016


Perfect, thanks!

On Wed, Dec 7, 2016 at 7:56 AM, Torbjörn Granlund <tg at gmplib.org> wrote:
> Josh Conner <joshconner at google.com> writes:
>
>   diff -rdcp gmp-5.1.3/gmp-h.in gmp-5.1.3-fuchsia/gmp-h.in
>   *** gmp-5.1.3/gmp-h.in 2013-09-30 03:18:28.000000000 -0700
>   --- gmp-5.1.3-fuchsia/gmp-h.in 2016-11-02 15:00:44.702141626 -0700
>   *************** typedef __mpq_struct *mpq_ptr;
>   *** 264,270 ****
>       || defined (_MSL_STDIO_H)           /* Metrowerks */          \
>       || defined (_STDIO_H_INCLUDED)      /* QNX4 */ \
>       || defined (_ISO_STDIO_ISO_H)       /* Sun C++ */ \
>   !   || defined (__STDIO_LOADED)         /* VMS */
>     #define _GMP_H_HAVE_FILE 1
>     #endif
>
>   --- 264,271 ----
>       || defined (_MSL_STDIO_H)           /* Metrowerks */          \
>       || defined (_STDIO_H_INCLUDED)      /* QNX4 */ \
>       || defined (_ISO_STDIO_ISO_H)       /* Sun C++ */ \
>   !   || defined (__STDIO_LOADED)         /* VMS */ \
>   !   || defined (__DEFINED_FILE)         /* musl */
>     #define _GMP_H_HAVE_FILE 1
>     #endif
>
> Thanks, I applied your patch (except the spurious spacing changes).
>
>
> --
> Torbjörn
> Please encrypt, key id 0xC8601622


More information about the gmp-devel mailing list