Actually, I'm pretty sure you can switch it on the fly. I already have code to do this in another situation (although I haven't been able to track down what I can do to trigger the code). The output looks something like so:
Code:
#if (version > 3.6) #version 3.6; #end
#include "somefile.inc"
#if (version < LDXOrigVer) #version LDXOrigVer; #end