FB_UNIX
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgDdfbunix
- Last revised: 2016-02-10
Intrinsic define set by the compiler
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.
Examples
start GeSHi
vb
#IFDEF __FB_UNIX__
'...instructions for UNIX-family OSes...
#ELSE
'...instructions for other OSes
#ENDIFend GeSHi
Differences from QB
- New to FreeBASIC
See also
__FB_LINUX____FB_FREEBSD____FB_OPENBSD____FB_NETBSD____FB_CYGWIN____FB_DARWIN____FB_PCOS__- Compiler Option: -target
Back to DocToc