For me, adding '{$MACRO ON}' helped. Like so:
Snippet from 'lsmtp.pp':
{ TLSMTPStatusFront }
{$MACRO ON}
{$DEFINE __front_type__ := TLSMTPStatusRec}
{$i lcontainersh.inc}
TLSMTPStatusFront = TLFront;
This is the patch (on Unices, apply with `patch < macro_on.patch`):
--- lsmtp.pp.orig 2011-12-19 23:54:01.621044895 +0100
+++ lsmtp.pp 2011-12-19 23:49:24.436040073 +0100
@@ -47,6 +47,7 @@
end;
{ TLSMTPStatusFront }
+ {$MACRO ON}
{$DEFINE __front_type__ := TLSMTPStatusRec}
{$i lcontainersh.inc}
TLSMTPStatusFront = TLFront;