FB_FREEBSD
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgDdfbfreebsd
- Last revised: 2016-02-10
Intrinsic define set by the compiler
Syntax
` FB_FREEBSD
`
Description
Define without a value created at compile time in the FreeBSD version of the compiler, or when the -target freebsd command line option is used. It can be used to compile parts of the program only if the target is FreeBSD.
Examples
start GeSHi
vb
#IFDEF __FB_FREEBSD__
'...instructions only for FreeBSD...
#ELSE
'...instructions not for FreeBSD...
#ENDIFend GeSHi
Differences from QB
- New to FreeBASIC
See also
__FB_LINUX____FB_WIN32____FB_UNIX__- Compiler Option: -target
Back to DocToc