[llvm-commits] [llvm] r124864 - in /llvm/trunk: lib/Support/Windows/PathV2.inc lib/Support/Windows/Windows.h lib/Support/Windows/system_error.inc utils/unittest/UnitTestMain/TestMain.cpp

NAKAMURA Takumi geek4civic at gmail.com
Fri Feb 4 04:53:04 PST 2011


Author: chapuni
Date: Fri Feb  4 06:53:04 2011
New Revision: 124864

URL: http://llvm.org/viewvc/llvm-project?rev=124864&view=rev
Log:
Make Win32's header file name lower for cross build on case-sensitive filesystem.

Modified:
    llvm/trunk/lib/Support/Windows/PathV2.inc
    llvm/trunk/lib/Support/Windows/Windows.h
    llvm/trunk/lib/Support/Windows/system_error.inc
    llvm/trunk/utils/unittest/UnitTestMain/TestMain.cpp

Modified: llvm/trunk/lib/Support/Windows/PathV2.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/PathV2.inc?rev=124864&r1=124863&r2=124864&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/PathV2.inc (original)
+++ llvm/trunk/lib/Support/Windows/PathV2.inc Fri Feb  4 06:53:04 2011
@@ -17,7 +17,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "Windows.h"
-#include <WinCrypt.h>
+#include <wincrypt.h>
 #include <fcntl.h>
 #include <io.h>
 #include <sys/stat.h>

Modified: llvm/trunk/lib/Support/Windows/Windows.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/Windows.h?rev=124864&r1=124863&r2=124864&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/Windows.h (original)
+++ llvm/trunk/lib/Support/Windows/Windows.h Fri Feb  4 06:53:04 2011
@@ -22,8 +22,8 @@
 #define WIN32_LEAN_AND_MEAN
 
 #include "llvm/Config/config.h" // Get build system configuration settings
-#include <Windows.h>
-#include <ShlObj.h>
+#include <windows.h>
+#include <shlobj.h>
 #include <cassert>
 #include <string>
 

Modified: llvm/trunk/lib/Support/Windows/system_error.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/system_error.inc?rev=124864&r1=124863&r2=124864&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/system_error.inc (original)
+++ llvm/trunk/lib/Support/Windows/system_error.inc Fri Feb  4 06:53:04 2011
@@ -17,8 +17,8 @@
 //===          is guaranteed to work on *all* Windows variants.
 //===----------------------------------------------------------------------===//
 
-#include <Windows.h>
-#include <WinError.h>
+#include <windows.h>
+#include <winerror.h>
 
 using namespace llvm;
 

Modified: llvm/trunk/utils/unittest/UnitTestMain/TestMain.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/unittest/UnitTestMain/TestMain.cpp?rev=124864&r1=124863&r2=124864&view=diff
==============================================================================
--- llvm/trunk/utils/unittest/UnitTestMain/TestMain.cpp (original)
+++ llvm/trunk/utils/unittest/UnitTestMain/TestMain.cpp Fri Feb  4 06:53:04 2011
@@ -13,7 +13,7 @@
 
 
 #if defined(LLVM_ON_WIN32)
-# include <Windows.h>
+# include <windows.h>
 # if defined(_MSC_VER)
 #   include <crtdbg.h>
 # endif





More information about the llvm-commits mailing list