Help Center
Help CenterFreeBASIC

__FB_UNIX__keyword

Intrinsic define set by the compiler

Intrinsic Defineskeyworddocumented

Syntax

__FB_UNIX__

Description


Define created at compile time if the OS is reasonably enough like UNIX that you can call it UNIX, otherwise undefined.

Remarks

Differences from QB


  • New to FreeBASIC

See also


Example


#ifdef __FB_UNIX__

  '...instructions for UNIX-family OSes...

#else

  '...instructions for other OSes

#endif 



Reference

  • Documented in KeyPgDdfbunix.html