__FB_FREEBSD__
Intrinsic define set by the compiler
__FB_FREEBSD__
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.
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.
Example
#ifdef __FB_FREEBSD__
'...instructions only for FreeBSD...
#else
'...instructions not for FreeBSD...
#endif
'...instructions only for FreeBSD...
#else
'...instructions not for FreeBSD...
#endif
Differences from QB
- New to FreeBASIC
See also