Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1epfCI-00059t-EK for pgsql-bugs@arkaria.postgresql.org; Sat, 24 Feb 2018 19:09:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epfCH-0003fF-Hf for pgsql-bugs@arkaria.postgresql.org; Sat, 24 Feb 2018 19:09:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1epfCH-0003f6-8x for pgsql-bugs@lists.postgresql.org; Sat, 24 Feb 2018 19:09:25 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1epfCE-0004I0-C0; Sat, 24 Feb 2018 19:09:24 +0000 Received: from [192.168.127.1] (port=35510 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1epfC9-000EdH-Ll; Sat, 24 Feb 2018 19:09:17 +0000 Received: from [127.0.0.1] (port=43561 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1epfC8-000Nxr-NH; Sat, 24 Feb 2018 19:09:16 +0000 From: Andrew Gierth To: Michael Meskes Cc: jallen@americansavingslife.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15080: ecpg on windows doesn't define HAVE_LONG_LONG_INT In-Reply-To: <1519483386.2654.291.camel@postgresql.org> (Michael Meskes's message of "Sat, 24 Feb 2018 15:43:06 +0100") Message-ID: <877er2nr8c.fsf@news-spur.riddles.org.uk> References: <151935568942.1461.14623890240535309745@wrigleys.postgresql.org> <1519483386.2654.291.camel@postgresql.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Sat, 24 Feb 2018 19:09:15 +0000 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >>>>> "Michael" == Michael Meskes 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 < 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)