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 | dafe55f64b038445adce31fe884e453db859194c (patch) | |
tree | 3dd682be215ade6d73ea176ed1ecd93a3e7accbc /lib/System/Path.cpp | |
parent | 7b3e851e2bc9014782e3cae379c4f1561380acbf (diff) |
For PR351:
Use the LLVM_ON_UNIX and LLVM_ON_WIN32 #defines to include the implementation
instead of relying upon the "platform" link
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19132 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Path.cpp')
-rw-r--r-- | lib/System/Path.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/System/Path.cpp b/lib/System/Path.cpp index dd0f275d7d..3187bfee59 100644 --- a/lib/System/Path.cpp +++ b/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 |