__FB_DARWIN__
Intrinsic define set by the compiler
__FB_DARWIN__
Define without a value created at compile time in the Darwin version of the compiler, or when the -target darwin command line option is used. It can be used to compile parts of the program only if the target is Darwin.
Syntax
__FB_DARWIN__
Description
Define without a value created at compile time in the Darwin version of the compiler, or when the -target darwin command line option is used. It can be used to compile parts of the program only if the target is Darwin.
Example
#ifdef __FB_DARWIN__
'...instructions only for Darwin...
#else
'...instructions not for Darwin...
#endif
'...instructions only for Darwin...
#else
'...instructions not for Darwin...
#endif
Differences from QB
- New to FreeBASIC
See also