On 19/03/2023 19:53, Sven Barth via lazarus wrote: > If it *would* work however you could simply do {$if not > declared(name_of_the_unit)}, because the unit name is also a valid > symbol. ooohh nooo. That would be like C header files.... Don't wont that. ;)