Intrinsic define set when gfxlib3 is selected.
Syntax
#ifdef __FB_GFXLIB3__
Description
The compiler defines
__FB_GFXLIB3__ when the
-gfx3 option selects the opt-in gfxlib3 runtime. A source file can make the same selection by defining the symbol before it first includes
fbgfx.bi. Including
fbgfx3.bi also defines it before loading the common graphics declarations.
The symbol is defined without a value. Test it with
ifdef or
defined() instead of treating it as a numeric expression.
Example
#ifdef __FB_GFXLIB3__
Print "gfxlib3 selected"
#else
Print "gfxlib2 selected"
#endif
Differences from QB
See also