Browse Source

Fix includes for Windows on case-sensitive filesystems

Closes #866
kamgha 5 years ago
parent
commit
c2866ea4ed

+ 1 - 1
dtool/src/dtoolutil/win32ArgParser.cxx

@@ -22,7 +22,7 @@
 #include "executionEnvironment.h"
 #include "executionEnvironment.h"
 
 
 #include <windows.h>
 #include <windows.h>
-#include <Tlhelp32.h>
+#include <tlhelp32.h>
 
 
 using std::string;
 using std::string;
 
 

+ 1 - 1
panda/src/device/winInputDeviceManager.h

@@ -20,7 +20,7 @@
 
 
 #include "xInputDevice.h"
 #include "xInputDevice.h"
 
 
-#include <CfgMgr32.h>
+#include <cfgmgr32.h>
 #include <devpkey.h>
 #include <devpkey.h>
 
 
 class WinRawInputDevice;
 class WinRawInputDevice;

+ 1 - 1
panda/src/device/winRawInputDevice.cxx

@@ -19,7 +19,7 @@
 
 
 #if defined(_WIN32) && !defined(CPPPARSER)
 #if defined(_WIN32) && !defined(CPPPARSER)
 
 
-#include <CfgMgr32.h>
+#include <cfgmgr32.h>
 #include <devpkey.h>
 #include <devpkey.h>
 #include "phidsdi.h"
 #include "phidsdi.h"
 
 

+ 2 - 2
panda/src/device/xInputDevice.cxx

@@ -19,8 +19,8 @@
 #include "inputDeviceManager.h"
 #include "inputDeviceManager.h"
 #include "string_utils.h"
 #include "string_utils.h"
 
 
-#include <XInput.h>
-#include <CfgMgr32.h>
+#include <xinput.h>
+#include <cfgmgr32.h>
 
 
 #ifndef XUSER_MAX_COUNT
 #ifndef XUSER_MAX_COUNT
 #define XUSER_MAX_COUNT 4
 #define XUSER_MAX_COUNT 4

+ 1 - 1
panda/src/device/xInputDevice.h

@@ -19,7 +19,7 @@
 
 
 #if defined(_WIN32) && !defined(CPPPARSER)
 #if defined(_WIN32) && !defined(CPPPARSER)
 
 
-#include <CfgMgr32.h>
+#include <cfgmgr32.h>
 
 
 class InputDeviceManager;
 class InputDeviceManager;
 
 

+ 1 - 1
panda/src/display/graphicsEngine.cxx

@@ -55,7 +55,7 @@
 
 
 #if defined(WIN32)
 #if defined(WIN32)
   #define WINDOWS_LEAN_AND_MEAN
   #define WINDOWS_LEAN_AND_MEAN
-  #include <WinSock2.h>
+  #include <winsock2.h>
   #include <wtypes.h>
   #include <wtypes.h>
   #undef WINDOWS_LEAN_AND_MEAN
   #undef WINDOWS_LEAN_AND_MEAN
 #else
 #else

+ 1 - 1
panda/src/downloader/bioStreamBuf.cxx

@@ -19,7 +19,7 @@
 #ifdef HAVE_OPENSSL
 #ifdef HAVE_OPENSSL
 
 
 #if defined(WIN32_VC) || defined(WIN64_VC)
 #if defined(WIN32_VC) || defined(WIN64_VC)
-  #include <WinSock2.h>
+  #include <winsock2.h>
   #include <windows.h>  // for WSAGetLastError()
   #include <windows.h>  // for WSAGetLastError()
   #undef X509_NAME
   #undef X509_NAME
 #endif  // WIN32_VC
 #endif  // WIN32_VC

+ 1 - 1
panda/src/downloader/httpChannel.cxx

@@ -30,7 +30,7 @@
 #include "openSSLWrapper.h"
 #include "openSSLWrapper.h"
 
 
 #if defined(WIN32_VC) || defined(WIN64_VC)
 #if defined(WIN32_VC) || defined(WIN64_VC)
-  #include <WinSock2.h>
+  #include <winsock2.h>
   #include <windows.h>  // for select()
   #include <windows.h>  // for select()
   #undef X509_NAME
   #undef X509_NAME
 #endif  // WIN32_VC
 #endif  // WIN32_VC

+ 1 - 1
panda/src/nativenet/socket_portable.h

@@ -53,7 +53,7 @@ typedef unsigned long SOCKET;
 ************************************************************************/
 ************************************************************************/
 #elif defined(_WIN32)
 #elif defined(_WIN32)
 #include <winsock2.h>
 #include <winsock2.h>
-#include <Ws2tcpip.h>
+#include <ws2tcpip.h>
 
 
 typedef u_short sa_family_t;
 typedef u_short sa_family_t;
 
 

+ 1 - 1
panda/src/net/connectionManager.cxx

@@ -25,7 +25,7 @@
 #if defined(CPPPARSER)
 #if defined(CPPPARSER)
 #elif defined(WIN32_VC) || defined(WIN64_VC)
 #elif defined(WIN32_VC) || defined(WIN64_VC)
 #include <winsock2.h>  // For gethostname()
 #include <winsock2.h>  // For gethostname()
-#include <Iphlpapi.h> // For GetAdaptersAddresses()
+#include <iphlpapi.h> // For GetAdaptersAddresses()
 #elif defined(__ANDROID__)
 #elif defined(__ANDROID__)
 #include <net/if.h>
 #include <net/if.h>
 #else
 #else

+ 1 - 1
panda/src/pstatclient/pStatClientImpl.cxx

@@ -28,7 +28,7 @@
 #include <algorithm>
 #include <algorithm>
 
 
 #if defined(WIN32_VC) || defined(WIN64_VC)
 #if defined(WIN32_VC) || defined(WIN64_VC)
-#include <Winsock2.h>
+#include <winsock2.h>
 #include <windows.h>
 #include <windows.h>
 #endif
 #endif