From: Jarkko Hietaniemi Date: Wed, 27 Aug 2003 05:37:34 +0000 (+0000) Subject: Urk. In Mac OS X byteorder is not one of the "known ones", X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d6f9c1819f8d900fa247c93667024fea72fc153f;p=p5sagit%2Fp5-mst-13.2.git Urk. In Mac OS X byteorder is not one of the "known ones", but instead it is 0xFFFF. So retract #20914. p4raw-id: //depot/perl@20915 --- diff --git a/perl.h b/perl.h index 1d740ec..cd735af 100644 --- a/perl.h +++ b/perl.h @@ -247,9 +247,8 @@ register struct op *Perl_op asm(stringify(OP_IN_REGISTER)); #define SOFT_CAST(type) (type) #endif -/* Only these byteorders are really known and tested. */ -#if !(BYTEORDER == 0x1234 || BYTEORDER == 0x12345678 || BYTEORDER == 0x4321 || BYTEORDER == 0x87654321) -# error "UNKNOWN BYTEORDER!" +#ifndef BYTEORDER /* Should never happen -- byteorder is in config.h */ +# define BYTEORDER 0x1234 #endif /* Overall memory policy? */