Skip to content

Commit

Permalink
core: Remove redundant windows.h
Browse files Browse the repository at this point in the history
The windows.h header is not necessary for ssize_t definition
on the Windows platform since BaseTsd.h already provides the
required SSIZE_T type definition. Remove this redundant include
to reduce compilation dependencies.

Signed-off-by: wey <[email protected]>
  • Loading branch information
weypro authored and j-xiong committed Nov 13, 2024
1 parent 50b9a42 commit 33e8e86
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/rdma/fabric.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@

#if defined(_WIN32)
#include <BaseTsd.h>
#include <windows.h>
typedef SSIZE_T ssize_t;
#endif

Expand Down

0 comments on commit 33e8e86

Please sign in to comment.