You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
631 B

define: DUK_USE_BYTEORDER
# DUK_OPT_FORCE_BYTEORDER handled by genconfig specially
introduced: 1.4.0
default: 0 # no reasonable automatic default
tags:
- portability
description: >
Byte order for platform: 1 = little endian, 2 = mixed (arm hybrid) endian,
3 = big endian.
ARM mixed endian means integers are little endian but IEEE doubles have
mixed endianness: big endian bytes 12345678 are ordered in memory as
43218765.
(This define should be produced by duk_config.h; currently Duktape internals
use automatically derived defines DUK_USE_{INTEGER,DOUBLE}_{LE,BE_ME}
instead of using this define directly.)