Intrinsic define set by the compiler
Syntax
__FB_DOS__
Description
Define without a value created at compile time if compiling for the DOS target. Default in the DOS hosted version, or active when the
-target dos command line option is used. It can be used to compile parts of the program only if the target is DOS. Note: the DOS hosted version cannot compile to other targets than DOS by now.
Example
#ifdef __FB_DOS__
' ... instructions only for DOS ...
' ... INT 0x31
#else
' ... instructions not for DOS ...
#endif
Differences from QB
See also