mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 01:42:09 +00:00
To make mcc16 run correctly on mac.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80239 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4fac74950a
commit
1eb6baa3b2
@ -13,7 +13,7 @@ namespace llvmc {
|
||||
// FIXME: This currently work on linux and windows only. It does not
|
||||
// work on other unices.
|
||||
static std::string GetDirSeparator() {
|
||||
#ifdef __linux__
|
||||
#if __linux__ || __APPLE__
|
||||
return "/";
|
||||
#else
|
||||
return "\\";
|
||||
|
Loading…
Reference in New Issue
Block a user