BUG #3304: win32 build fails, because of wrong include - Mailing list pgsql-bugs

From
Subject BUG #3304: win32 build fails, because of wrong include
Date
Msg-id 200705241333.l4ODXN6x059046@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #3304: win32 build fails, because of wrong include  (Magnus Hagander <magnus@hagander.net>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      3304
Logged by:
Email address:      oliverst@online.de
PostgreSQL version: 8.1.9
Operating system:   Windows 2000
Description:        win32 build fails, because of wrong include
Details:

When you set the ENABLE_THREAD_SAFETY define on windows and you try to build
it, you will get an error in thread.c, because it tries to include the
pthread.h, which doesn't exist on Windows. It lacks an #ifdef, that will
include the pthread-win32.h, in case WIN32 is defined.

pgsql-bugs by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: BUG #3302: Crash on gist ltree - PANIC: failed to add item to index page
Next
From: Magnus Hagander
Date:
Subject: Re: BUG #3304: win32 build fails, because of wrong include