Help Center
Help CenterFreeBASIC

__FB_WIN32__keyword

Intrinsic define set by the compiler

Intrinsic Defineskeyworddocumented

Syntax

__FB_WIN32__

Description


Define without a value created at compile time if compiling to the Win (32-bit or 64-bit) target. Default in Win hosted version, or active if the -target win32 or -target win64 command line option is used. It can be used to compile parts of the program only if the target is Win.

Remarks

Differences from QB


  • New to FreeBASIC

See also


Example


#ifdef __FB_WIN32__

  ' ... instructions only for Win ...

  ' ... GetProcAddress ...

#else

  ' ... instructions not for Win ...

#endif 



Reference

  • Documented in KeyPgDdfbwin32.html