Skip to content

fix cmake build error for curl builds#8021

Merged
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
bigbrett:cmake-curl-uintptr_t-fix
Sep 26, 2024
Merged

fix cmake build error for curl builds#8021
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
bigbrett:cmake-curl-uintptr_t-fix

Conversation

@bigbrett
Copy link
Copy Markdown
Contributor

Description

Fixes build error with cmake builds for curl compatibility.

CMake infra didn't define HAVE_UINTPTR_T, causing curl builds to fail when built with cmake.

cmake -DWOLFSSL_CURL ../ && makewould fail becausetypes.hnever includedstdint.h` in this scenario.

This PR adds a detection step and defines the required macro if the type is detected.

@JacobBarthelmeh JacobBarthelmeh merged commit dd2186f into wolfSSL:master Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants