> 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


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to