mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-10 16:24:04 +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.
|
// Returns the platform specific directory separator via #ifdefs.
|
||||||
static std::string GetDirSeparator(void) {
|
static std::string GetDirSeparator(void) {
|
||||||
|
#ifdef __linux__
|
||||||
return "/";
|
return "/";
|
||||||
|
#else
|
||||||
|
return "\\";
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace hooks {
|
namespace hooks {
|
||||||
|
Loading…
Reference in New Issue
Block a user