__FB_BIGENDIAN__
Intrinsic define set by the compiler
__FB_BIGENDIAN__
Define without a value created at compile time if compiling for a big endian target.
It can be used to compile parts of the program only if the target is big endian.
Syntax
__FB_BIGENDIAN__
Description
Define without a value created at compile time if compiling for a big endian target.
It can be used to compile parts of the program only if the target is big endian.
Example
#ifdef __FB_BIGENDIAN__
'...instructions only for big endian machines
#else
'...instructions only for little endian machines
#endif
'...instructions only for big endian machines
#else
'...instructions only for little endian machines
#endif
Differences from QB
- Did not exist in QB