Conditional Defines
From The Oxygene Language Wiki
This is a Language topic
Feel free to add your notes to this topic below.
The Oxygene compiler provides the following conditional defines:
- ADRENOCHROME - legacy
- CHROME - legacy
- CHROME10UP - legacy
- CHROME15UP - legacy
- OXYGENE - version 3.0 and up
- OXYGENE50 - version 5.0
- OXYGENE30UP - version 3.0 and up
- OXYGENE40UP - version 4.0 and up
- OXYGENE50UP - version 5.0 and up
- VER50 - version 5.0
- VER30UP - version 3.0 and up
- VER40UP - version 4.0 and up
- VER50UP - version 5.0 and up
And (only one) of the following:
- MONO and CLR
- DOTNET and CLR
- JAVA
Note that the MONO or DOTNET define indicates the platform the compiler is running on, not the platform your executable will run on. You can use CLR vs JAVA to distinguish between Java and .NET/Mono.
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To