FB_WIN32
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgDdfbwin32
- Last revised: 2018-12-15
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 ...
#ENDIFend GeSHi
Differences from QB
- New to FreeBASIC
See also
__FB_DOS____FB_LINUX____FB_PCOS__- Compiler Option: -target
Back to DocToc