In my conditional defines i have defined 'DELPHI'. In my code i have:
but it cannot compile:
[DCC Error] MyUniit.pas(4): E1030 Invalid compiler directive: 'mode'
If i change IFNDEF to IFDEF, it compiles. This obviously means that it doesn't know DELPHI. I can compile exactly the same code on another machine with also Delphi 2007. How is this possible?