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