summaryrefslogtreecommitdiff
path: root/source/core/slang-io.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-02-28 15:09:19 -0800
committerGitHub <noreply@github.com>2023-02-28 15:09:19 -0800
commitf7db44a236bb867003395d1a91d6907901653528 (patch)
tree84d65caea539337bf19fb4435a1fe6fa5de589fb /source/core/slang-io.h
parentf23e36243e9c59c02f66ec2e18b80ba4ea540f45 (diff)
Add `SourceBlobWithPathInfoArtifactRepresentation`. (#2682)
Diffstat (limited to 'source/core/slang-io.h')
-rw-r--r--source/core/slang-io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/core/slang-io.h b/source/core/slang-io.h
index e766359ff..60487e6af 100644
--- a/source/core/slang-io.h
+++ b/source/core/slang-io.h
@@ -96,8 +96,11 @@ namespace Slang
#if SLANG_WINDOWS_FAMILY
static const char kOSCanonicalPathDelimiter = '\\';
+ static const char kOSAlternativePathDelimiter = '/';
+
#else
static const char kOSCanonicalPathDelimiter = '/';
+ static const char kOSAlternativePathDelimiter = '/';
#endif
/// Finds all all the items in the specified directory, that matches the pattern.