Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/CommNoGui/CSerialPortDemoNoGui.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <iostream>

#ifdef _WIN32
#include <Windows.h>
#include <windows.h>
#define imsleep(microsecond) Sleep(microsecond) // ms
#else
#include <unistd.h>
Expand Down
4 changes: 2 additions & 2 deletions src/SerialPortInfoWinBase.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <Windows.h>
#include <windows.h>
#include <initguid.h> // GUID
#include <Setupapi.h> // SetupDiGetClassDevs Setup*
#include <setupapi.h> // SetupDiGetClassDevs Setup*
#include <tchar.h> // _T

#include "CSerialPort/iutils.hpp"
Expand Down
2 changes: 1 addition & 1 deletion test/CSerialPortVirtual.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "CSerialPort/iutils.hpp"

#ifdef _WIN32
#include <Windows.h>
#include <windows.h>
#include <tchar.h> //_T
#else
#include <errno.h> // perror
Expand Down
2 changes: 1 addition & 1 deletion test/cseiralport_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <vector>

#ifdef _WIN32
#include <Windows.h>
#include <windows.h>
#define imsleep(microsecond) Sleep(microsecond) // ms
#else
#include <unistd.h>
Expand Down