Magnus Hagander <[EMAIL PROTECTED]> wrote: > Absolutely, but we need to fix the DllMain thing first.
Here is a patch to remove DllMain from libecpg on Win32 build. I brought the initialization routine from libpq and implemented pthread_once() using a lock that serializes all pthread_once calls. I don't have msvc build environment, but I hope it will fix the build failure on it. On another matter, this patch includes removing descriptors field in struct connection. This was my mistake in the previous fix of descriptors. Regards, --- ITAGAKI Takahiro NTT Open Source Software Center
remove-dllmain.patch
Description: Binary data
---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings