Looking at my sdl.pas, I guess that the compiler got uses, but then went trough all the {$IFDEF}s and didn't specify anything to use, going straight to const, hence the "identifier expected". Maybe try {$DEFINE WINDOWS} (since it's Delphi)?