pgtcl.dll - Mailing list pgsql-cygwin

From Clive Mayo
Subject pgtcl.dll
Date
Msg-id 000f01c14c11$b1e144d0$9349d0d5@ttl3d.co.uk
Whole thread Raw
List pgsql-cygwin
Trying to compile the pgtcl.dll, had to hack pgtclid.c as follows,
and also link against setupapi.dll and libtcl80.a
How can I do a simple test on the DLL ?
Thanks in advance, Clive
P.S. not on the mailing list.

bash$ diff pgtclid.c.org pgtclid.c
26a27,29
> #ifdef __CYGWIN32__
> int hspfileq;
> #endif
689a693,702
> #ifdef __CYGWIN32__
>                       hspfileq = SetupOpenFileQueue();
>                       SetupCommitFileQueue(
>                         NULL,                    // optional; parent
window
>                         hspfileq,                // handle to the file
queue
>                         &Pg_Notify_FileHandler,  // callback routine to
use
>                         (ClientData) connid      // passed to callback
routine
>                       );
>
> #else
693a707
>
700a715
> #endif
712a728,730
> #ifdef __CYGWIN32__
>       SetupCloseFileQueue(hspfileq);
> #else
715a734
>
721a741
> #endif



pgsql-cygwin by date:

Previous
From: Dave Page
Date:
Subject: Re: Cannot initdb - Windows 98 SE
Next
From: Roberto Cantanhede
Date:
Subject: GROUP BY Part II