diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-24 06:29:17 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-24 06:29:17 +0000 |
commit | 328ee53573da53cdd9a6242e4e7b2611882b7ae1 (patch) | |
tree | eac860ef027a1e9596929abb1fa5bb2a940e45d5 /llvm/lib/System/Path.cpp | |
parent | d3d6d9d691b6e19903415de79720a0246c25bc33 (diff) | |
download | bcm5719-llvm-328ee53573da53cdd9a6242e4e7b2611882b7ae1.tar.gz bcm5719-llvm-328ee53573da53cdd9a6242e4e7b2611882b7ae1.zip |
For PR351:
Use the LLVM_ON_UNIX and LLVM_ON_WIN32 #defines to include the implementation
instead of relying upon the "platform" link
llvm-svn: 19132
Diffstat (limited to 'llvm/lib/System/Path.cpp')
-rw-r--r-- | llvm/lib/System/Path.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/llvm/lib/System/Path.cpp b/llvm/lib/System/Path.cpp index dd0f275d7db..3187bfee590 100644 --- a/llvm/lib/System/Path.cpp +++ b/llvm/lib/System/Path.cpp @@ -99,6 +99,12 @@ Path::GetDLLSuffix() { } // Include the truly platform-specific parts of this class. -#include "platform/Path.cpp" + +#if defined(LLVM_ON_UNIX) +#include "Unix/Path.cpp" +#endif +#if defined(LLVM_ON_WIN32) +#include "Win32/Path.cpp" +#endif // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab |