diff options
Diffstat (limited to 'source/core/unix/slang-unix-process-util.cpp')
| -rw-r--r-- | source/core/unix/slang-unix-process-util.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/core/unix/slang-unix-process-util.cpp b/source/core/unix/slang-unix-process-util.cpp index 0447dd499..400f4f773 100644 --- a/source/core/unix/slang-unix-process-util.cpp +++ b/source/core/unix/slang-unix-process-util.cpp @@ -20,7 +20,11 @@ namespace Slang { /* static */UnownedStringSlice ProcessUtil::getExecutableSuffix() { +#if __CYGWIN__ + return UnownedStringSlice::fromLiteral(".exe"); +#else return UnownedStringSlice::fromLiteral(""); +#endif } /* static */void ProcessUtil::appendCommandLineEscaped(const UnownedStringSlice& slice, StringBuilder& out) |
