mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-20 08:54:08 +00:00
Return dir separator as per platform.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75119 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ac007b64ea
commit
44a382f894
@ -11,7 +11,11 @@ namespace llvmc {
|
||||
|
||||
// Returns the platform specific directory separator via #ifdefs.
|
||||
static std::string GetDirSeparator(void) {
|
||||
#ifdef __linux__
|
||||
return "/";
|
||||
#else
|
||||
return "\\";
|
||||
#endif
|
||||
}
|
||||
|
||||
namespace hooks {
|
||||
|
Loading…
x
Reference in New Issue
Block a user