Re: BUG #15080: ecpg on windows doesn't define HAVE_LONG_LONG_INT
От | Andrew Gierth |
---|---|
Тема | Re: BUG #15080: ecpg on windows doesn't define HAVE_LONG_LONG_INT |
Дата | |
Msg-id | 877er2nr8c.fsf@news-spur.riddles.org.uk обсуждение исходный текст |
Ответ на | Re: BUG #15080: ecpg on windows doesn't define HAVE_LONG_LONG_INT (Michael Meskes <meskes@postgresql.org>) |
Ответы |
Re: BUG #15080: ecpg on windows doesn't define HAVE_LONG_LONG_INT
Re: BUG #15080: ecpg on windows doesn't define HAVE_LONG_LONG_INT |
Список | pgsql-bugs |
>>>>> "Michael" == Michael Meskes <meskes@postgresql.org> writes: Michael> ECPG does not use pg_config.h, try making your change in Michael> ecpg_config.h instead. Aha. Solution.pm has this: if (IsNewer( 'src/interfaces/ecpg/include/ecpg_config.h', 'src/interfaces/ecpg/include/ecpg_config.h.in')) { print "Generating ecpg_config.h...\n"; open(my $o, '>', 'src/interfaces/ecpg/include/ecpg_config.h') || confess "Could not open ecpg_config.h"; print $o <<EOF; #if (_MSC_VER > 1200) #define HAVE_LONG_LONG_INT_64 1 #define ENABLE_THREAD_SAFETY 1 EOF print $o "#endif\n"; close($o); } from which HAVE_LONG_LONG_INT seems to be suspiciously missing? -- Andrew (irc:RhodiumToad)
В списке pgsql-bugs по дате отправления: