Version 7.6.12 of the ECL Language Reference Manual lists _PLATFORM_ as a compile time constant. However, this constant appears to be only available at runtime. Steps to reproduce the behavior are shown below.
This code doesn´t work (constant needed at compile time):
Whereas this code works (constant needed at runtime):