[Lldb-commits] [lldb] r203505 - Fix Mingw build error by using lower case name for windows header files.

Hafiz Abid Qadeer hafiz_abid at mentor.com
Mon Mar 10 15:31:39 PDT 2014


Author: abidh
Date: Mon Mar 10 17:31:39 2014
New Revision: 203505

URL: http://llvm.org/viewvc/llvm-project?rev=203505&view=rev
Log:
Fix Mingw build error by using lower case name for windows header files.

Modified:
    lldb/trunk/include/lldb/Host/SocketAddress.h
    lldb/trunk/include/lldb/Host/windows/windows.h
    lldb/trunk/source/Core/ConnectionFileDescriptor.cpp
    lldb/trunk/source/Host/common/Host.cpp
    lldb/trunk/tools/driver/Platform.h

Modified: lldb/trunk/include/lldb/Host/SocketAddress.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Host/SocketAddress.h?rev=203505&r1=203504&r2=203505&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Host/SocketAddress.h (original)
+++ lldb/trunk/include/lldb/Host/SocketAddress.h Mon Mar 10 17:31:39 2014
@@ -16,7 +16,7 @@
 #ifdef _WIN32
 #include "lldb/Host/windows/windows.h"
 #include <winsock2.h>
-#include <WS2tcpip.h>
+#include <ws2tcpip.h>
 typedef ADDRESS_FAMILY sa_family_t;
 #else
 #include <sys/socket.h>

Modified: lldb/trunk/include/lldb/Host/windows/windows.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Host/windows/windows.h?rev=203505&r1=203504&r2=203505&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Host/windows/windows.h (original)
+++ lldb/trunk/include/lldb/Host/windows/windows.h Mon Mar 10 17:31:39 2014
@@ -15,7 +15,7 @@
 #define WIN32_LEAN_AND_MEAN
 #define NOGDI
 #define NOMINMAX
-#include <Windows.h>
+#include <windows.h>
 #undef GetUserName
 #undef LoadImage
 #undef CreateProcess

Modified: lldb/trunk/source/Core/ConnectionFileDescriptor.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ConnectionFileDescriptor.cpp?rev=203505&r1=203504&r2=203505&view=diff
==============================================================================
--- lldb/trunk/source/Core/ConnectionFileDescriptor.cpp (original)
+++ lldb/trunk/source/Core/ConnectionFileDescriptor.cpp Mon Mar 10 17:31:39 2014
@@ -37,7 +37,7 @@
 #ifdef _WIN32
 #include "lldb/Host/windows/windows.h"
 #include <winsock2.h>
-#include <WS2tcpip.h>
+#include <ws2tcpip.h>
 #endif
 
 // C++ Includes

Modified: lldb/trunk/source/Host/common/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Host.cpp?rev=203505&r1=203504&r2=203505&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Host.cpp (original)
+++ lldb/trunk/source/Host/common/Host.cpp Mon Mar 10 17:31:39 2014
@@ -16,7 +16,7 @@
 #ifdef _WIN32
 #include "lldb/Host/windows/windows.h"
 #include <winsock2.h>
-#include <WS2tcpip.h>
+#include <ws2tcpip.h>
 #else
 #include <unistd.h>
 #include <dlfcn.h>

Modified: lldb/trunk/tools/driver/Platform.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/driver/Platform.h?rev=203505&r1=203504&r2=203505&view=diff
==============================================================================
--- lldb/trunk/tools/driver/Platform.h (original)
+++ lldb/trunk/tools/driver/Platform.h Mon Mar 10 17:31:39 2014
@@ -20,7 +20,7 @@
     #include <io.h>
     #include <eh.h>
     #include <inttypes.h>
-    #include "lldb/Host/windows/Windows.h"
+    #include "lldb/Host/windows/windows.h"
 
     struct timeval
     {





More information about the lldb-commits mailing list