Re: [PATCHES] c.h is the problem of msvc.

Поиск
Список
Период
Сортировка
От Hiroshi Saito
Тема Re: [PATCHES] c.h is the problem of msvc.
Дата
Msg-id 022401c6a796$06689cd0$0801a8c0@IBMC4B5932F74B
обсуждение исходный текст
Ответ на Re: [PATCHES] c.h is the problem of msvc.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCHES] c.h is the problem of msvc.  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Ooops,
I am uncertain at the reason for not knowing __BORLANDC__...
It will be sure if __BORLANDC__ has the definition. 
Thanks.

Regards,
Hiroshi Saito

From: "Tom Lane"


> "Hiroshi Saito" <z-saito@guitar.ocn.ne.jp> writes:
>> --- src/include/c.h.orig Sat Jul 15 01:38:59 2006
>> +++ src/include/c.h Sat Jul 15 01:40:04 2006
>> @@ -60,7 +60,9 @@
>>  #if defined(_MSC_VER) || defined(__BORLANDC__)
>>  #define WIN32_ONLY_COMPILER
>>  #define errcode __vc_errcode
>> +#if (_MSC_VER > 1400)
>>  #include <crtdefs.h>
>> +#endif
>>  #undef errcode
>>  #endif
>>  
> 
> This patch certainly looks like it will break the __BORLANDC__ build ...
> 
> regards, tom lane

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: src/tools/pginclude considered harmful (was Re:
Следующее
От: Tom Lane
Дата:
Сообщение: Re: src/tools/pginclude considered harmful (was Re: [PATCHES]