Skip to content

Commit

Permalink
ssize_t is posix, not windows
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreRenaud committed Oct 24, 2023
1 parent 4ac1ad1 commit 3001d34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions simple_uart.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ extern "C" {

#ifdef _WIN32
#include <windows.h>
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif

struct simple_uart;
Expand Down

0 comments on commit 3001d34

Please sign in to comment.