__Fb_Pcos__
 
Intrinsic define set by the compiler

Syntax

__FB_PCOS__

Description

Define with -1 if the OS has filesystem behavior styled like common PC OSes, e.g. DOS, Windows, OS/2, Symbian OS, possibly others. Drive letters, backslashes, that stuff, else define with 0.

Example

#if __FB_PCOS__
  '...instructions for PC-ish OSes...
#else
  '...instructions for other OSes
#endif 


Differences from QB

  • New to FreeBASIC

See also