I need to use a couple of external variables in my unit written for {$MODE DELPHI}. Unfortunately the following doesn't compile:
kDADiskDescriptionWatchVolumeName: CFArrayRef; cvar; external;
It does compile in {$MODE OBJFPC}, but in that mode FPC doesn't compile my remaining code.
Is there a way to declare an external variables in {$MODE DELPHI}?