summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-08-27 05:37:34 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-27 05:37:34 +0000
commitd6f9c1819f8d900fa247c93667024fea72fc153f (patch)
treeb40c8c5a44b053ae222e0ec63e304cc82e5fabd7 /perl.h
parent99ec81d37267036802558d0fe26c7a89fe8bf540 (diff)
downloadperl-d6f9c1819f8d900fa247c93667024fea72fc153f.tar.gz
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
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl.h b/perl.h
index 1d740ec5dc..cd735afa6f 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? */