QMK Improvements - make LEDs per update configurable
* Fix Windows include error that breaks std::min/max if a Windows header is included (tracked down to net_port.h) Commit amended by Adam Honse <calcprogrammer1@gmail.com>
This commit is contained in:
parent
3523044a29
commit
6ea3cdb8b7
4 changed files with 41 additions and 11 deletions
|
|
@ -13,6 +13,10 @@
|
|||
#include <vector>
|
||||
|
||||
#ifdef WIN32
|
||||
/*---------------------------------------------------------*\
|
||||
| Windows interferes with std::max unless NOMINMAX defined |
|
||||
\*---------------------------------------------------------*/
|
||||
#define NOMINMAX
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue