Skip to content

Fb Unix

Paul Squires edited this page Sep 19, 2026 · 1 revision

Home › Intrinsic Defines › FB_UNIX

FB_UNIX

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.

Remarks

Differences from QB

  • New to FreeBASIC

See also

Examples

#ifdef __FB_UNIX__

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

#else

  '...instructions for other OSes

#endif

Category: Intrinsic Defines
Kind: keyword


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally