From 7adf247031f6eae5aa06093376968e8665ebd888 Mon Sep 17 00:00:00 2001 From: Steve Hay Date: Fri, 11 Oct 2019 08:10:26 +0100 Subject: The VC6 Chainsaw Massacre Remove MS Visual C++ 6.0 support as agreed in the thread starting here: https://www.nntp.perl.org/group/perl.perl5.porters/2019/07/msg255625.html --- inline.h | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'inline.h') diff --git a/inline.h b/inline.h index 9ecdb80988..38b523b15d 100644 --- a/inline.h +++ b/inline.h @@ -533,24 +533,7 @@ Perl_variant_byte_number(PERL_UINTMAX_T word) /* Get just the msb bits of each byte */ word &= PERL_VARIANTS_WORD_MASK; -# ifdef USING_MSVC6 /* VC6 has some issues with the normal code, and the - easiest thing is to hide that from the callers */ - { - unsigned int i; - const U8 * s = (U8 *) &word; - dTHX; - - for (i = 0; i < sizeof(word); i++ ) { - if (s[i]) { - return i; - } - } - - Perl_croak(aTHX_ "panic: %s: %d: unexpected zero word\n", - __FILE__, __LINE__); - } - -# elif BYTEORDER == 0x1234 || BYTEORDER == 0x12345678 +# if BYTEORDER == 0x1234 || BYTEORDER == 0x12345678 /* Bytes are stored like * Byte8 ... Byte2 Byte1 -- cgit v1.2.1