summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/core/unix/slang-unix-process-util.cpp4
-rw-r--r--source/slang/slang-check.cpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/source/core/unix/slang-unix-process-util.cpp b/source/core/unix/slang-unix-process-util.cpp
index 24107fab3..af49eec37 100644
--- a/source/core/unix/slang-unix-process-util.cpp
+++ b/source/core/unix/slang-unix-process-util.cpp
@@ -146,9 +146,9 @@ namespace Slang {
return SLANG_FAIL;
}
- // Set a timeout of twenty seconds;
+ // Set a timeout of 100 seconds;
// we really shouldn't wait too long...
- int pollTimeout = 20000;
+ int pollTimeout = 100000;
int pollResult = poll(pollInfos, pollInfoCount, pollTimeout);
if (pollResult <= 0)
{
diff --git a/source/slang/slang-check.cpp b/source/slang/slang-check.cpp
index 74e30cf8d..e52baaa84 100644
--- a/source/slang/slang-check.cpp
+++ b/source/slang/slang-check.cpp
@@ -93,10 +93,10 @@ namespace Slang
if (type == PassThroughMode::GenericCCpp)
{
// try testing for availability on all C/C++ compilers
- getOrLoadDownstreamCompiler(PassThroughMode::Clang, sink);
- getOrLoadDownstreamCompiler(PassThroughMode::Gcc, sink);
- getOrLoadDownstreamCompiler(PassThroughMode::VisualStudio, sink);
- getOrLoadDownstreamCompiler(PassThroughMode::LLVM, sink);
+ getOrLoadDownstreamCompiler(PassThroughMode::Clang, nullptr);
+ getOrLoadDownstreamCompiler(PassThroughMode::Gcc, nullptr);
+ getOrLoadDownstreamCompiler(PassThroughMode::VisualStudio, nullptr);
+ getOrLoadDownstreamCompiler(PassThroughMode::LLVM, nullptr);
}
// Mark that we have tried to load it