Help Center
Help CenterFreeBASIC

__FB_NETBSD__keyword

Intrinsic define set by the compiler

Intrinsic Defineskeyworddocumented

Syntax

__FB_NETBSD__

Description


Define without a value created at compile time in the NetBSD version of the compiler, or when the -target netbsd command line option is used. It can be used to compile parts of the program only if the target is NetBSD.

Remarks

Differences from QB


  • New to FreeBASIC

See also


Example


#ifdef __FB_NETBSD__

  '...instructions only for NetBSD...

#else

  '...instructions not for NetBSD...

#endif 



Reference

  • Documented in KeyPgDdfbnetbsd.html