[llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp

Jeff Cohen jeffc at jolt-lang.org
Fri Dec 24 08:26:59 PST 2004



Changes in directory llvm/lib/System:

DynamicLibrary.cpp updated: 1.7 -> 1.8
---
Log message:

Get VC++ building again

---
Diffs of the changes:  (+3 -2)

Index: llvm/lib/System/DynamicLibrary.cpp
diff -u llvm/lib/System/DynamicLibrary.cpp:1.7 llvm/lib/System/DynamicLibrary.cpp:1.8
--- llvm/lib/System/DynamicLibrary.cpp:1.7	Fri Dec 24 01:57:09 2004
+++ llvm/lib/System/DynamicLibrary.cpp	Fri Dec 24 10:26:47 2004
@@ -12,6 +12,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/System/DynamicLibrary.h"
+#include "llvm/Config/config.h"
 
 // It is not possible to use ltdl.c on VC++ builds as the terms of its LGPL
 // license and special exception would cause all of LLVM to be placed under
@@ -19,7 +20,7 @@
 // used, and obviously libtool is not used with Visual Studio.  An entirely
 // separate implementation is provided in win32/DynamicLibrary.cpp.
 
-#ifdef _WIN32
+#ifdef LLVM_ON_WIN32
 
 #include "win32/DynamicLibrary.cpp"
 
@@ -148,4 +149,4 @@
   return lt_dlsym((lt_dlhandle) handle, symbolName);
 }
 
-#endif // _WIN32
\ No newline at end of file
+#endif // LLVM_ON_WIN32






More information about the llvm-commits mailing list