__FB_BIGENDIAN__

FreeBASIC

__FB_BIGENDIAN__
 
Intrinsic define set by the compiler

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 


Differences from QB

  • Did not exist in QB