[llvm-commits] CVS: llvm/lib/System/Win32/Path.inc
    Jeff Cohen 
    jeffc at jolt-lang.org
       
    Sun Nov  5 11:32:32 PST 2006
    
    
  
Changes in directory llvm/lib/System/Win32:
Path.inc updated: 1.58 -> 1.59
---
Log message:
Unbreak VC++ build.
---
Diffs of the changes:  (+5 -0)
 Path.inc |    5 +++++
 1 files changed, 5 insertions(+)
Index: llvm/lib/System/Win32/Path.inc
diff -u llvm/lib/System/Win32/Path.inc:1.58 llvm/lib/System/Win32/Path.inc:1.59
--- llvm/lib/System/Win32/Path.inc:1.58	Fri Sep  1 15:35:17 2006
+++ llvm/lib/System/Win32/Path.inc	Sun Nov  5 13:31:28 2006
@@ -124,7 +124,12 @@
 
   // Append a subdirectory passed on our process id so multiple LLVMs don't
   // step on each other's toes.
+#ifdef __MINGW32__
+  // Mingw's Win32 header files are broken.
   sprintf(pathname, "LLVM_%u", unsigned(GetCurrentProcessId()));
+#else
+  sprintf(pathname, "LLVM_%u", GetCurrentProcessId());
+#endif
   result.appendComponent(pathname);
 
   // If there's a directory left over from a previous LLVM execution that
    
    
More information about the llvm-commits
mailing list