Help Center
Help CenterFreeBASIC

__FB_X86__keyword

Intrinsic define set by the compiler

Intrinsic Defineskeyworddocumented

Syntax

__FB_X86__

Description


Define created at compile time if the compilation target uses the X86 or X86_64 CPU architecture, otherwise undefined.

Remarks

Version


  • Since fbc 1.08.0

Differences from QB


  • New to FreeBASIC

See also


Example


#ifdef __FB_X86__

  '...instructions for X86 OSes...

#else

  '...instructions for other OSes

#endif 



Reference

  • Documented in KeyPgDdfbx86.html