Skip to content

FB_OPENBSD


Intrinsic define set by the compiler

Syntax

` FB_OPENBSD

`

Description

Define without a value created at compile time in the OpenBSD version of the compiler, or when the -target openbsd command line option is used. It can be used to compile parts of the program only if the target is OpenBSD.

Examples

start GeSHi

vb
#IFDEF __FB_OPENBSD__
  '...instructions only for OpenBSD...
#ELSE
  '...instructions not for OpenBSD...
#ENDIF

end GeSHi

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