FB_OUT_DLL
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgDdfboutdll
- Last revised: 2016-03-12
Intrinsic define (macro value) set by the compiler
Syntax
` FB_OUT_DLL
`
Description
__FB_OUT_DLL__ indicates that the specified output file type on the compiler command line at the time of compilation is a shared library.
Returns non-zero (-1) if the output is a shared library. Returns zero (0) otherwise.
Only one of __FB_OUT_DLL__, __FB_OUT_EXE__, __FB_OUT_LIB__, or __FB_OUT_OBJ__ will evaluate to non-zero (-1). All others will evaluate to zero (0).
Examples
start GeSHi
vb
#if __FB_OUT_DLL__
'... specific instructions when making a shared library (DLL)
#else
'... specific instructions when not making a shared library (DLL)
#endifend GeSHi
Differences from QB
- New to FreeBASIC
See also
__FB_OUT_EXE____FB_OUT_LIB____FB_OUT_OBJ__- Compiler Option: -dll
Back to DocToc