| От | Magnus Hagander |
|---|---|
| Тема | Re: BUG #3304: win32 build fails, because of wrong include |
| Дата | |
| Msg-id | 4655A2B5.7060709@hagander.net обсуждение исходный текст |
| Ответ на | BUG #3304: win32 build fails, because of wrong include ("" <oliverst@online.de>) |
| Список | pgsql-bugs |
oliverst@online.de wrote: > 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. For 8.1, you need pthreads. There is a package available that provides the pthread emulation layer. You can get it from http://sourceware.org/pthreads-win32/ 8.3 will remove this requirement and all parts will work with the native threads. //Magnus
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера