Skip to content

FB_WIN32


Intrinsic define set by the compiler

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.

Examples

start GeSHi

vb
#IFDEF __FB_WIN32__
  ' ... instructions only for Win ...
  ' ... GetProcAddress ...
#ELSE
  ' ... instructions not for Win ...
#ENDIF

end GeSHi

Differences from QB

  • New to FreeBASIC

See also

Back to DocToc

Translated from FreeBASIC official docs. Contact us for removal if infringed.
FreeBASIC is an open-source project, not affiliated with Microsoft