| From: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
|---|---|
| To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
| Cc: | PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org> |
| Subject: | Re: Compiling libpq with VisualC |
| Date: | 2004-06-04 13:36:52 |
| Message-ID: | 40C07AF4.1050900@pse-consulting.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-hackers-win32 pgsql-patches |
The appended patch implements ENABLE_THREAD_SAFETY for win32 compiled
with Visual C. Two additional files will supply the needed pthread stuff.
There's no SIGPIPE for native win32, so there are some #IFNDEF WIN32 to
skip installing a signal handler for this. I'm not sure if this is going
to show conflicts for CYGWIN or other unix-like builds on win32
platforms, i.e. if WIN32 is defined in such cases or not; please check.
Note: the previously posted win32.mak patch is superseded by this.
Regards,
Andreas
| Attachment | Content-Type | Size |
|---|---|---|
| win32-threadsafety.patch | text/plain | 3.7 KB |
| pthread-win32.c | text/plain | 803 bytes |
| pthread.h.win32 | text/plain | 410 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2004-06-04 13:43:53 | Re: [HACKERS] pg_dump --comment? |
| Previous Message | Bruce Momjian | 2004-06-04 13:30:35 | Re: Compiling libpq with VisualC |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ati Rosselet | 2004-06-06 18:11:02 | ignoring unconvertible UTF-8 character??? |
| Previous Message | Bruce Momjian | 2004-06-04 13:30:35 | Re: Compiling libpq with VisualC |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2004-06-04 13:43:53 | Re: [HACKERS] pg_dump --comment? |
| Previous Message | Bruce Momjian | 2004-06-04 13:30:35 | Re: Compiling libpq with VisualC |