Use lowercase when including Windows headers
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
using namespace ZeroTier;
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
WSADATA wsaData;
|
||||
#endif
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "ZeroTierSockets.h"
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
#include <BaseTsd.h>
|
||||
#include <basetsd.h>
|
||||
#endif
|
||||
|
||||
/* Macro substitutions to standardize state checking of service, node, callbacks, and TCP/IP
|
||||
|
||||
@@ -28,9 +28,9 @@
|
||||
#include "VirtualTap.hpp"
|
||||
|
||||
#if defined(__WINDOWS__)
|
||||
#include <ShlObj.h>
|
||||
#include <WinSock2.h>
|
||||
#include <Windows.h>
|
||||
#include <shlobj.h>
|
||||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
#include <iphlpapi.h>
|
||||
#include <netioapi.h>
|
||||
#define stat _stat
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#define ZT_LOCAL_INTERFACE_CHECK_INTERVAL 60000
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#include "VirtualTap.hpp"
|
||||
|
||||
#if defined(__WINDOWS__)
|
||||
#include "Synchapi.h"
|
||||
#include "synchapi.h"
|
||||
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user