Hey PGD-friends.

I just installed Delphi 2010 (Needed an update as I was still using BDS2006). However, I can't compile my engine anymore.

Code:
{$IFDEF __MACH__}
  GPCMacOSAll;
{$ENDIF}

const       //<<< ERROR HERE:
{$IFDEF WINDOWS}
  SDLLibName = 'SDL.dll';
{$ENDIF}
It says:

[DCC Error] sdl.pas(35: E2029 Identifier expected but 'CONST' found
If I put an arbitrary unit in the uses clause and close with a semilicon, the problem is solved, but another one will pop up:

[DCC Error] sdl.pas(2217): E2003 Undeclared identifier: 'Sem_t'
What's going on here?

Thanks