Browse Source

Use lowercase when including Windows headers

pull/8/head
staphen 4 years ago
parent
commit
7177a1fe3f
No known key found for this signature in database
GPG Key ID: E6D757EEF0CE235F
  1. 2
      src/Controls.cpp
  2. 2
      src/Events.hpp
  3. 6
      src/NodeService.cpp
  4. 2
      src/NodeService.hpp
  5. 2
      src/VirtualTap.cpp

2
src/Controls.cpp

@ -27,7 +27,7 @@
using namespace ZeroTier;
#ifdef __WINDOWS__
#include <Windows.h>
#include <windows.h>
WSADATA wsaData;
#endif

2
src/Events.hpp

@ -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

6
src/NodeService.cpp

@ -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

2
src/NodeService.hpp

@ -44,7 +44,7 @@
#define ZT_LOCAL_INTERFACE_CHECK_INTERVAL 60000
#ifdef __WINDOWS__
#include <Windows.h>
#include <windows.h>
#endif
namespace ZeroTier {

2
src/VirtualTap.cpp

@ -37,7 +37,7 @@
#include "VirtualTap.hpp"
#if defined(__WINDOWS__)
#include "Synchapi.h"
#include "synchapi.h"
#include <time.h>
#endif

Loading…
Cancel
Save