Then neither the Linux nor the Windows versions shows the dataset. At least the way I have it now, the Windows one works.
Here's my uses clause:
{$IFDEF LINUX}
FireDAC.ConsoleUI.Wait,
{$ELSE}
FireDAC.FMXUI.Wait, FireDAC.Comp.UI,
{$ENDIF}
Here's a constant defined which shows on the generated web page that indicates which platform it's running under:
{$IFDEF CONSOLE}
APP_NAME = 'My App Console';
{$ELSE}
{$IFDEF LINUX}
APP_NAME = 'My App Linux';
{$ELSE}
APP_NAME = 'My App Windows';
{$ENDIF}
{$ENDIF}
The Windows one shows up for Apache for Windows, the Linux one shows up for Apache for Linux. The Console one, as you might guess by now, never shows up.
So yes, I'm sure the conditional compilation is working as expected.