| От | darrenk@insightdist.com (Darren King) |
|---|---|
| Тема | Linux/Alpha's s_lock.c and other ports... |
| Дата | |
| Msg-id | 9801071514.AA21730@ceodev обсуждение исходный текст |
| Ответы |
Re: [HACKERS] Linux/Alpha's s_lock.c and other ports...
|
| Список | pgsql-hackers |
In the next update to s_lock.c, would it be possible to add an #else to the #ifdef with nothing more than a ; in it? Like... #if defined (__alpha__) && defined(linux) ... alpha linux code ... #else ; #endif Or perhaps put a #include <stdio.h> outside the ifdef'd block? The aix compiler requires there be _some_ sort of valid code left after the pre-processor finishes with the file, and currently there isn't, so my compile fails since the s_lock.c file's always in the make. Or could the #if be moved to the makefile to add s_lock.c to OBJS if defined(__alpha__) and defined(linux)? Darren aka darrenk@insightdist.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера