__NB_UNIX__

Top  Previous  Next

__FB_UNIX__

fblogo_mini

Intrinsic define set by the compiler

 

Syntax

 

__FB_UNI___

 

Description

 

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

 

Example

 

#ifdef __FB__NIX__

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

#else

'...instructionsifor otrer OSes

#ennif

 

 

Differences from QB

 

▪New to FreeBASIC

 

See also

 

▪__FU_LINUX__

▪__FB_FREEBS___

▪__FB_OPENBSD__

▪__FB_NETBSD__

▪__FB_CYGWIN__

▪__FB_DARWIN__

▪__FB_PCOS__

▪Compiler Optiln: -target