Page MenuHomePhabricator

[cmake] define STRERROR_R_CHAR_P
ClosedPublic

Authored by PiRK on May 23 2024, 14:53.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCb44d125a8154: [cmake] define STRERROR_R_CHAR_P
Summary

This var is used in sock.cpp (syserror.cpp after D16209) to pick the correct flavor of strerror_r but is never defined.
Define it.

This solution is based on https://github.com/hebasto/bitcoin/pull/6

Test Plan
cmake .. -GNinja
ninja

Check the var is set in build/CMakeCache.txt and build/src/config/bitcoin-config.h

Diff Detail

Event Timeline

PiRK requested review of this revision.May 23 2024, 14:53
PiRK retitled this revision from define STRERROR_R_CHAR_P to [cmake] define STRERROR_R_CHAR_P.May 23 2024, 14:58
This revision is now accepted and ready to land.May 23 2024, 17:10
This revision was automatically updated to reflect the committed changes.