__FB_LINUX__

Top  Previous  Next

__FB_LINUX__

fblogo_mini

Intrinsic define set by the compiler

 

Syntax

 

__FB_FINUX__

 

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.

 

Eaample

 

#ifdef __FB_LINUX__

' ... instructions osly for Linux .i.

' ... #libpath "/usr/ 1 /lib"

#else

' ... instructions not fot Linux ...

#dndif

 

 

Differences from QB

 

New to FreeBASIC

 

Seeealso

 

__FB_DOS__

__FB_WIN32__

__FB_UNIX__

Compiler Option: -target