Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 817BF19D7F5D for ; Tue, 29 Nov 2011 10:30:05 -0400 (AST) Received: from mail-ey0-f174.google.com ([209.85.215.174]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RVOhA-0007wC-Qf for pgsql-bugs@postgresql.org; Tue, 29 Nov 2011 14:30:05 +0000 Received: by eaak14 with SMTP id k14so3153438eaa.19 for ; Tue, 29 Nov 2011 06:29:51 -0800 (PST) Received: by 10.213.33.66 with SMTP id g2mr1261059ebd.63.1322576991317; Tue, 29 Nov 2011 06:29:51 -0800 (PST) Received: from [192.168.1.39] (228-185.76-83.cust.bluewin.ch. [83.76.185.228]) by mx.google.com with ESMTPS id x12sm105722701eef.9.2011.11.29.06.29.46 (version=SSLv3 cipher=OTHER); Tue, 29 Nov 2011 06:29:47 -0800 (PST) Message-ID: <4ED4EC58.6040605@bernawebdesign.ch> Date: Tue, 29 Nov 2011 15:29:44 +0100 From: Marco Bernasocchi Organization: bernawebdesign.ch User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111124 Thunderbird/9.0 MIME-Version: 1.0 To: Alvaro Herrera CC: Peter Eisentraut , Pg Bugs Subject: Re: libpq in android References: <4ECCD3D9.3040505@bernawebdesign.ch> <1322172064.20912.28.camel@vanquo.pezone.net> <1322181759-sup-9871@alvh.no-ip.org> In-Reply-To: <1322181759-sup-9871@alvh.no-ip.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201111/206 X-Sequence-Number: 31801 Hi do you need an input from me? i used ifdef to be less invading to the code. On 11/25/2011 01:43 AM, Alvaro Herrera wrote: > > Excerpts from Peter Eisentraut's message of jue nov 24 19:01:04 -0300 2011: >> On ons, 2011-11-23 at 12:07 +0100, Marco Bernasocchi wrote: >>> Hi all, porting QGIS to android I ported libpq as well, I had to modify >>> two files to successfully compile it without-readline. I attach the two >>> needed minor patches. further informations can be found at android.qgis.org. >> >> The PostgreSQL source tree does not contain any file m4/libtool.m4. >> >> For the second patch, please try to find a feature-detection method of >> addressing this problem (e.g., configure check), instead of >> harding-coding #ifdef MYPLATFORM. > > FWIW I think this can be done simply by replacing the B64 struct member > with int64. > -- Marco Bernasocchi www.opengis.ch