[MONGOCRYPT-247] Conditionally define ssize_t if it is not available Created: 05/Feb/20 Updated: 28/Oct/23 Resolved: 11/Feb/20 |
|
| Status: | Closed |
| Project: | Libmongocrypt |
| Component/s: | kms_message |
| Affects Version/s: | 1.0.1 |
| Fix Version/s: | 1.0.2 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Jeremy Mikola | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
A user in mongodb/mongo-php-driver#1097 reported a problem compiling libmongocrypt on Alpine Linux (3.10 according to this Dockerfile) due to ssize_t being undefined. This Stack Overflow thread suggests that ssize_t is supported in POSIX but not standard C, although I'm not sure why it wouldn't exist on Alpine. |
| Comments |
| Comment by Githook User [ 11/Feb/20 ] |
|
Author: {'username': 'kevinAlbs', 'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com'}Message: |