https://docwiki.embarcadero.com/RADStudio/Athens/en/Conditional_compilation_(Delphi)
Quote:
The following conditionals are available as of RAD Studio 11.1:
FRAMEWORK_VCL Defined if the project uses VCL framework.
FRAMEWORK_FMX Defined if the project uses FMX framework.
Better (very very) late than never. Right?