-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use typedef for Windows ssize_t. Fixes #2144. #2145
Conversation
json-c 0.17 uses in json_inttypes.h: #if defined(_MSC_VER)
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif Which expands to the same thing. Msys2 builds won't like that I'm guessing. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2145 +/- ##
==========================================
- Coverage 76.98% 76.98% -0.01%
==========================================
Files 194 194
Lines 37074 37074
==========================================
- Hits 28542 28541 -1
- Misses 8532 8533 +1 ☔ View full report in Codecov by Sentry. |
Windows-native tests fail for some reason
|
Is that perhaps related to what's going on #2139? |
Yeah, that must be the reason. I'm debugging that issue. |
…kaie #define ssize_t conflicts with typedefs added in json-c 0.17. Replace the defines with typedefs, these result in the same typedefs used in json-c. Patch has been submitted upstream: rnpgp/rnp#2145 Differential Revision: https://phabricator.services.mozilla.com/D193100 --HG-- extra : moz-landing-system : lando
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Fixes #2144