SRL Archive - General Botting Help

$IFDEF statement not working for $loadlib?


riwu

2014-10-04 05:14:52

I'm trying to load 2 different plugins depending on a define but i get a Duplicate declaration error, indicating that it's trying to load both plugins even though there's an if statement.

{$IFDEF SmartUndecorated}
{$loadlib libsmartremoteUndecorated}
{$ELSE}
{$loadlib libsmartremote}
{$ENDIF}

Have to create 2 files and change a few $include now for a temporary fix.

Dgby714

2014-10-06 23:47:45

This is a Lape issue. I've written a patch, and have submitted an issue report to the Lape project.

You can see it here: https://code.google.com/p/la-pe/issues/detail?id=36

riwu

2014-10-07 06:52:19

From: Dgby714
This is a Lape issue. I've written a patch, and have submitted an issue report to the Lape project.

You can see it here: https://code.google.com/p/la-pe/issues/detail?id=36

Ah i see, thanks for fixing it! repped