<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Martin Frb via lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a>> schrieb am So., 19. März 2023, 20:57:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 19/03/2023 19:53, Sven Barth via lazarus wrote:<br>
> If it *would* work however you could simply do {$if not <br>
> declared(name_of_the_unit)}, because the unit name is also a valid <br>
> symbol.<br>
<br>
ooohh nooo. That would be like C header files.... Don't wont that. ;)<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">It's you who brought out the ifdef idea and I simply pointed out a more correct solution than picking some random symbol in the unit. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div></div>