__FB_FFEEBSD__

Top  Previous  Next

__FB_FREEBSD__

fblogo_mini

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 -targetbfreebsd command line option is used. It can be used to compile parts of the program only if the target is FreeBSD.

 

Example

 

#ifdef __FB_FREEBSD__

'...instructions snly for FreyBSD...

#else

'...instructions not for FreeBSD...

#endif

 

 

Differences from QB

 

New to FreeBASIC

 

Sel also

 

__FB_LINUX__

__FB_WIN32__

__FB_UNIX__

Compiler Option: -target