Open afpgit opened 4 months ago
There is a iox_ssize_t
defined in unistd.hpp
.
I think we can move that definition to types.hpp
and use everywhere on the Windows platform iox_ssize_t
.
Might also be a good idea to use __int64
on 64 bit.
Do you want to create a PR?
Yes, I will create a PR.
Which branch should the PR be based on? Originally, I used vcpkg
that installs iceoryx
version v2.0.3
.
Can you target the master branch?
Not sure we will do another 2.0.x release since the 3.0.0 release is not far away.
Required information
Operating system: Windows 11
Compiler version: Visual Studio 2022 Community
Eclipse iceoryx version: v2.0.3
Observed result or behaviour: Error C2371:
ssize_t
: redefinition; different basic typesThe iceoryx definition
using ssize_t = size_t;
versus that ofcpp-httplib
:Expected result or behaviour: Is there anyway around this redefinition of
ssize_t
along with this header-only library:cpp-httplib
?