__FB_WIN32__
 
Intrinsic define set by the compiler

Syntax

__FB_WIN32__

Description

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

Example

#ifdef __FB_WIN32__
  ' ... instructions only for Win32 ...
  ' ... GetProcAddress ...
#else
  ' ... instructions not for Win32 ...
#endif 


Differences from QB

  • New to FreeBASIC

See also