Conditionally define ssize_t if it is not available

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Critical - P2
    • 1.0.2
    • Affects Version/s: 1.0.1
    • Component/s: kms_message
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: