summaryrefslogtreecommitdiff
path: root/pp_proto.h
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2020-02-04 15:46:13 +0000
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2020-02-05 10:49:24 +0000
commitf955cd4a58de7ef332ccbaca58561be68bee4f6a (patch)
tree95d8ffc1d11153ed7534da252b7a475e32bff188 /pp_proto.h
parentd20228ab36ecaa23d862ea6d226ec5769862ec91 (diff)
downloadperl-f955cd4a58de7ef332ccbaca58561be68bee4f6a.tar.gz
pp_i_modulo(): remove workaround for ancient glibc bug
Old glibc versions had a buggy modulo implementation for 64 bit integers on 32-bit architectures. This was fixed in glibc 2.3, released in 2002 (the version check in the code is overly cautious). Removing the alternate PP function support is left for the next commit, in case we need to resurrect it in future.
Diffstat (limited to 'pp_proto.h')
-rw-r--r--pp_proto.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/pp_proto.h b/pp_proto.h
index 580ce937ec..25b8dd52fa 100644
--- a/pp_proto.h
+++ b/pp_proto.h
@@ -298,9 +298,4 @@ PERL_CALLCONV OP *Perl_pp_warn(pTHX);
PERL_CALLCONV OP *Perl_pp_xor(pTHX);
PERL_CALLCONV OP *Perl_unimplemented_op(pTHX);
-/* alternative functions */
-#if defined(__GLIBC__) && IVSIZE == 8 && ( __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 8))
-PERL_CALLCONV OP *Perl_pp_i_modulo_glibc_bugfix(pTHX);
-#endif
-
/* ex: set ro: */