mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 22:04:55 +00:00
Create a replacement for sys::Path::PathSeparator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184806 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8ba825e2ea
commit
593fcb56b3
@ -21,6 +21,15 @@
|
||||
namespace llvm {
|
||||
class error_code;
|
||||
namespace sys {
|
||||
|
||||
/// This is the OS-specific separator for PATH like environment variables:
|
||||
// a colon on Unix or a semicolon on Windows.
|
||||
#if defined(LLVM_ON_UNIX)
|
||||
const char EnvPathSeparator = ':';
|
||||
#elif defined (LLVM_ON_WIN32)
|
||||
const char EnvPathSeparator = ';';
|
||||
#endif
|
||||
|
||||
/// This static constructor (factory) will attempt to locate a program in
|
||||
/// the operating system's file system using some pre-determined set of
|
||||
/// locations to search (e.g. the PATH on Unix). Paths with slashes are
|
||||
|
Loading…
Reference in New Issue
Block a user