Skip to content

FB_ANDROID ​


Intrinsic define set by the compiler

Syntax ​

` FB_ANDROID

`

Description ​

Define without a value created at compile time when targeting android platforms, when the -target android command line option is used. It can be used to compile parts of the program only for a such target.

Examples ​

start GeSHi

vb
#IFDEF __FB_ANDROID__
  '...instructions only for android target...
#ELSE
  '...instructions not for android target...
#ENDIF

end GeSHi

Version ​

  • Since fbc 1.20.0

Differences from QB ​

  • New to FreeBASIC

See also ​

Back to DocToc

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