FB_LINUX
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgDdfblinux
- Last revised: 2016-02-10
Intrinsic define set by the compiler
Syntax
` FB_LINUX
`
Description
Define without a value created at compile time when compiling to the Linux target. Default in the Linux hosted version of the compiler, or active when the -target linux command line option is used. It can be used to compile parts of the program only if the target is Linux.
Examples
start GeSHi
vb
#IFDEF __FB_LINUX__
' ... instructions only for Linux ...
' ... #libpath "/usr/X11/lib"
#ELSE
' ... instructions not for Linux ...
#ENDIFend GeSHi
Differences from QB
- New to FreeBASIC
See also
__FB_DOS____FB_WIN32____FB_UNIX__- Compiler Option: -target
Back to DocToc