Help Center
Help CenterFreeBASIC

__FB_DARWIN__keyword

Intrinsic define set by the compiler

Intrinsic Defineskeyworddocumented

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.

Remarks

Differences from QB


  • New to FreeBASIC

See also


Example


#ifdef __FB_DARWIN__

  '...instructions only for Darwin...

#else

  '...instructions not for Darwin...

#endif 



Reference

  • Documented in KeyPgDdfbdarwin.html