diff options
author | Tony Cook <tony@develop-help.com> | 2019-11-12 09:11:34 +1100 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-11-16 16:07:35 -0800 |
commit | 065d0f135e6d1aa6fab37115ee55247e06a9b832 (patch) | |
tree | 8a9a5223f85b7d64be1bd53a0ebc7b62d0e1367f /embed.h | |
parent | 16b18492a3b13a32fa4c894a24245b7f615366e4 (diff) | |
download | perl-065d0f135e6d1aa6fab37115ee55247e06a9b832.tar.gz |
clean up quadmath_format_*() functions
This includes:
- remove them from the API
- simplify quadmath_format_single()'s interface, and rename it
to match the new interface
fixes #17288
Diffstat (limited to 'embed.h')
-rw-r--r-- | embed.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -905,10 +905,6 @@ #define PerlIO_unread(a,b,c) Perl_PerlIO_unread(aTHX_ a,b,c) #define PerlIO_write(a,b,c) Perl_PerlIO_write(aTHX_ a,b,c) #endif -#if defined(USE_QUADMATH) -#define quadmath_format_needed Perl_quadmath_format_needed -#define quadmath_format_single Perl_quadmath_format_single -#endif #if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS) #define do_aspawn(a,b,c) Perl_do_aspawn(aTHX_ a,b,c) #define do_spawn(a) Perl_do_spawn(aTHX_ a) @@ -1967,6 +1963,10 @@ #define PerlIO_restore_errno(a) Perl_PerlIO_restore_errno(aTHX_ a) #define PerlIO_save_errno(a) Perl_PerlIO_save_errno(aTHX_ a) # endif +# if defined(USE_QUADMATH) +#define quadmath_format_needed Perl_quadmath_format_needed +#define quadmath_format_valid Perl_quadmath_format_valid +# endif # if defined(_MSC_VER) #define magic_regdatum_set(a,b) Perl_magic_regdatum_set(aTHX_ a,b) # endif |