Page MenuHome GnuPG

cpp: Fix includes on MSVC
Needs ReviewPublic

Authored by CarlSchwan on Jan 22 2024, 12:02 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary
  • lang/cpp/src/callbacks.cpp: don't include unistd.h on MSVC, not needed and doesn't exist there
  • lang/cpp/src/editinteractor.cpp, lang/cpp/src/data.h: define ssize_t on MSVC
  • lang/cpp/src/key.h: include ctime instead of posix only sys/time.h
Test Plan

Compiles on Linux and reduce the number of compile errors on MSVC

Diff Detail

Repository
rM GPGME
Branch
work/carl/msvc-include
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

CarlSchwan created this revision.