Skip to content

Commit

Permalink
simple uart windows, loaded libs only in lower case (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
akaeba authored Nov 30, 2023
1 parent 511a9e8 commit c2875ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion simple_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#define INITGUID // required for GUID_DEVCLASS_PORTS, otherwise linker error @see https://stackoverflow.com/questions/14762154/enumerating-battery-devices-c-windows
#include <windows.h>
#include <devguid.h> // GUID_DEVCLASS_PORTS
#include <Setupapi.h> // Devices: SetupDiGetClassDevs
#include <setupapi.h> // Devices: SetupDiGetClassDevs
#endif

#ifdef __linux__
Expand Down
2 changes: 1 addition & 1 deletion simple_uart.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ extern "C" {

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

Expand Down

0 comments on commit c2875ce

Please sign in to comment.