Skip to content

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.

Examples

start GeSHi

vb
#IFDEF __FB_BIGENDIAN__
   '...instructions only for big endian machines
#ELSE
  '...instructions only for little endian machines
#ENDIF

end GeSHi

Differences from QB

  • Did not exist in QB

Back to DocToc

Translated from FreeBASIC official docs. Contact us for removal if infringed.
FreeBASIC is an open-source project, not affiliated with Microsoft