mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-07 16:54:48 +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…
Reference in New Issue
Block a user