Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: Crosscompile with Dockcross
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Cristian Rodríguez via curl-library <curl-library_at_lists.haxx.se>
Date: Fri, 25 Mar 2022 09:34:31 -0300
On Thu, Mar 24, 2022 at 1:51 PM Robb Schiefer via curl-library
<curl-library_at_lists.haxx.se> wrote:
>
> Added the following to my CMakeLists file and the error is gone:
>
>
>
> set(HAVE_STRUCT_TIMEVAL 1)
>
>
>
> Is this correct? Obviously I would add this conditionally based on the target architecture.
struct timeval must be defined on sys/time.h on any modern system
supporting XSI extensions that matters so yes.
Also cmake itself uses struct timeval.
Date: Fri, 25 Mar 2022 09:34:31 -0300
On Thu, Mar 24, 2022 at 1:51 PM Robb Schiefer via curl-library
<curl-library_at_lists.haxx.se> wrote:
>
> Added the following to my CMakeLists file and the error is gone:
>
>
>
> set(HAVE_STRUCT_TIMEVAL 1)
>
>
>
> Is this correct? Obviously I would add this conditionally based on the target architecture.
struct timeval must be defined on sys/time.h on any modern system
supporting XSI extensions that matters so yes.
Also cmake itself uses struct timeval.
-- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2022-03-25