# New Ticket Created by Jarkko Hietaniemi # Please include the string: [perl #31060] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31060 >
The PARROT_BYTEORDER (which is, oddly, unused) probably makes more sense as a hex constant, and adding PARROT_LITTLEENDIAN as a logical inverse. -- Jarkko Hietaniemi <[EMAIL PROTECTED]> http://www.iki.fi/jhi/ "There is this special biologist word we use for 'stable'. It is 'dead'." -- Jack Cohen
--- config/gen/config_h/config_h.in.dist 2004-08-11 14:28:52.000000000 +0300 +++ config/gen/config_h/config_h.in 2004-08-11 14:29:25.000000000 +0300 @@ -49,10 +49,12 @@ #define PARROT_CPU_ARCH "${jitcpuarch}" #define PARROT_OS_NAME "${jitosname}" -#define PARROT_BYTEORDER ${byteorder} +#define PARROT_BYTEORDER 0x${byteorder} #define PARROT_BIGENDIAN ${bigendian} #define PARROT_PTR_ALIGNMENT ${ptr_alignment} +#define PARROT_LITTLEENDIAN !(PARROT_BIGENDIAN) + typedef Parrot_Int INTVAL; typedef Parrot_UInt UINTVAL; typedef Parrot_Float FLOATVAL;