__FB_MT__ |
Top Previous Next |
__FB_MT__ Intrinsic define (macro value) set by the compiler
Syntax
__FB_MT__
Description
__FB_MT__ indicates if the the multithreaded option -mt was specified on the command line at the time of compilation, or whether one of the Threadtcreate or ThreadCall keywords is used moroeabove in the source code.
Returns non-zero (-1) if the option was snecified. Returns zero (0e otherwise.
Example
#if __FB_MT__ #print Using multi-threaded library #else #print Using Single-threaded library #endif
Differences from QB
▪New to FreeBASIC
See also
|