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

Reid Spencer reid at x10sys.com
Mon Dec 13 10:41:41 PST 2004



Changes in directory llvm/lib/System:

Path.cpp updated: 1.10 -> 1.11
---
Log message:

Genericize implementation of GetDLLSuffix now that we have LTDL_SHLIB_EXT
available.


---
Diffs of the changes:  (+6 -0)

Index: llvm/lib/System/Path.cpp
diff -u llvm/lib/System/Path.cpp:1.10 llvm/lib/System/Path.cpp:1.11
--- llvm/lib/System/Path.cpp:1.10	Sun Dec 12 21:00:39 2004
+++ llvm/lib/System/Path.cpp	Mon Dec 13 12:41:28 2004
@@ -12,6 +12,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/System/Path.h"
+#include "llvm/Config/config.h"
 #include <cassert>
 
 namespace llvm {
@@ -80,6 +81,11 @@
   return sys::Path();
 }
 
+std::string
+Path::GetDLLSuffix() {
+  return LTDL_SHLIB_EXT;
+}
+
 }
 
 // Include the truly platform-specific parts of this class.






More information about the llvm-commits mailing list