aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System/Program.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System/Program.cpp')
-rw-r--r--lib/System/Program.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/System/Program.cpp b/lib/System/Program.cpp
index c1dd38f..88a0084 100644
--- a/lib/System/Program.cpp
+++ b/lib/System/Program.cpp
@@ -12,6 +12,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/System/Program.h"
+#include "llvm/Config/config.h"
namespace llvm {
using namespace sys;
@@ -24,6 +25,11 @@ using namespace sys;
}
// Include the platform-specific parts of this class.
-#include "platform/Program.cpp"
+#ifdef LLVM_ON_UNIX
+#include "Unix/Program.cpp"
+#endif
+#ifdef LLVM_ON_WIN32
+#include "Win32/Program.cpp"
+#endif
// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab