Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-247

Conditionally define ssize_t if it is not available

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 1.0.2
    • Affects Version/s: 1.0.1
    • Component/s: kms_message
    • None

      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.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: