To make mcc16 run correctly on mac.

llvm-svn: 80239
This commit is contained in:
Sanjiv Gupta 2009-08-27 11:54:38 +00:00
parent 16ba5f1cfb
commit 99c20d1459
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ namespace llvmc {
// FIXME: This currently work on linux and windows only. It does not // FIXME: This currently work on linux and windows only. It does not
// work on other unices. // work on other unices.
static std::string GetDirSeparator() { static std::string GetDirSeparator() {
#ifdef __linux__ #if __linux__ || __APPLE__
return "/"; return "/";
#else #else
return "\\"; return "\\";