Skip to content

Commit

Permalink
iox-#2209 Fix include and change ssize_t to iox_ssize_t
Browse files Browse the repository at this point in the history
Updated ssize_t to iox_ssize_t in socket.hpp
  • Loading branch information
khromenokroman committed Aug 30, 2024
1 parent 2aa9569 commit b2feab7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions iceoryx_platform/win/include/iceoryx_platform/socket.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ using sa_family_t = int;
int iox_bind(int sockfd, const struct sockaddr* addr, socklen_t addrlen);
int iox_socket(int domain, int type, int protocol);
int iox_setsockopt(int sockfd, int level, int optname, const void* optval, socklen_t optlen);
ssize_t
iox_ssize_t
iox_sendto(int sockfd, const void* buf, size_t len, int flags, const struct sockaddr* dest_addr, socklen_t addrlen);
ssize_t iox_recvfrom(int sockfd, void* buf, size_t len, int flags, struct sockaddr* src_addr, socklen_t* addrlen);
iox_ssize_t iox_recvfrom(int sockfd, void* buf, size_t len, int flags, struct sockaddr* src_addr, socklen_t* addrlen);
int iox_connect(int sockfd, const struct sockaddr* addr, socklen_t addrlen);
int iox_closesocket(int sockfd);

Expand Down
2 changes: 1 addition & 1 deletion iceoryx_platform/win/source/unistd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include "iceoryx_platform/handle_translator.hpp"
#include "iceoryx_platform/mman.hpp"
#include "iceoryx_platform/types.hppt"
#include "iceoryx_platform/types.hpp"
#include "iceoryx_platform/win32_errorHandling.hpp"


Expand Down

0 comments on commit b2feab7

Please sign in to comment.