curl-library
Re: How to setup and maintain parallel 64 bit and 32 bit libcurl4-openssl development packages which both stay intact simultaneous How to setup and maintain parallel 64 bit and 32 bit libcurl4-openssl development packages which both stay intact simultan
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 18 Mar 2016 09:58:44 +0100
Date: Fri, 18 Mar 2016 09:58:44 +0100
On Fri, Mar 18, 2016 at 04:43:46AM -0400, Frank Chang wrote:
> Daniel Stenberg,
> In order to run a 32 bit build, I had to add, #define IS_32BIT 1 , in
> curlbuild.h and
> change else to #else in curlbuild.h Please tell if this is okay or is there a
> better way?
I think he meant that example in a conceptual way, since it's architecture and
compiler specific. You can use such a manual macro, but you'd be better off
detecting the architecture automatically, using compiler macros like __x86_64__
and __i386__.
>>> Dan
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-03-18