curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: target-independent libcurl headers

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 28 Jun 2017 11:54:10 +0200 (CEST)

On Wed, 28 Jun 2017, Rahul Sabnis wrote:

Please don't top-post, it makes it very hard to follow the conversation.

> This includes only curl/curl.h which intern includes curlrules.h

Yes, and at line 138 and 148, which are the ones causing you errors,
curlrules.h checks the values of CURL_SIZEOF_LONG and CURL_SIZEOF_CURL_OFF_T.

Those two are defined in curl/curlbuild.h, which is generated by configure and
should be installed with 'make install' (together with the other headers).
What values of CURL_SIZEOF_LONG and CURL_SIZEOF_CURL_OFF_T does configure
define them to in your curlbuild.h file?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-06-28