In your game code you may wrap certain features in Scripting Defines; this code will only be compiled and run in certain conditions or platforms, such as specific Unity Versions.
If you wish to include certain scripting defines in your Luna builds, you can enter these pre-processor symbols into the Scripting Defines section in the Luna UI, under Source code.
#if UNITY_2017_1_OR_NEWER//...Your Awesome Code...//#endif
Then include the name space inside the Luna Window. Navigate to the Code section and the Scripting Defines tab.