I'm attaching an updated patch. I haven't yet tested it on Windows, but
the fix is simple enough.
I have been unable to build psqlodbc satisfactorily with the PostgreSQL
config files, as the configure script fails to find support for shared
libraries. I did a quick test with a statically linked client.
When I stripped out the PGAC* macros and inlined PGAC_VAR_INT_TIMEZONE, I
was able to build and test a shared library. (I have not included those
changes.)
At 2/3/2004, Jon Willeke wrote:
>I haven't looked at the code, yet, but I'm pretty sure I know the
>problem. I added the HAVE_ISWASCII condition to make win_unicode.c work
>for Linux, which doesn't support this extension. However, Windows uses a
>different build system, so I need to guard it with HAVE_CONFIG, or
>something like that.
>
>I'll fix this and try to find a Windows build machine.