[Lazarus] RE : lnet and http headers
Ludo Brands
ludo.brands at free.fr
Wed Jul 6 13:17:57 CEST 2011
> server in line. The code works perfectly in 32 bit, but when
> I try to compile synapse in win64, it fails because the
> synapse code assumes that if it is not WIN32, it is being
> compiled for linux and wants the BaseUnix and Unix files.
>
In synsock.pas, synautil.pas and ssl_openssl_lib add
{$IFDEF WIN64}
{$DEFINE WIN32} //for win64
{$ENDIF}
in the beginning of the unit, before any other {$IFDEF}.
That worked perfectly for me.
Ludo
More information about the Lazarus
mailing list