diff options
| author | Martin Ridgers <[email protected]> | 2021-12-13 13:46:42 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-12-13 13:46:42 +0100 |
| commit | ec153d1b444f3632c1f39680818ddde1573896c9 (patch) | |
| tree | 5f0f52f22c2aeeab3a92558973624988c7f47e64 /zencore/thread.cpp | |
| parent | Merged main (diff) | |
| download | zen-ec153d1b444f3632c1f39680818ddde1573896c9.tar.xz zen-ec153d1b444f3632c1f39680818ddde1573896c9.zip | |
Fixed "unused function with static linkage" warning
Diffstat (limited to 'zencore/thread.cpp')
| -rw-r--r-- | zencore/thread.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zencore/thread.cpp b/zencore/thread.cpp index c6c2527ef..f1decf9a5 100644 --- a/zencore/thread.cpp +++ b/zencore/thread.cpp @@ -648,6 +648,7 @@ ProcessHandle::Wait(int TimeoutMs) ////////////////////////////////////////////////////////////////////////// +#if !ZEN_PLATFORM_WINDOWS || ZEN_WITH_TESTS static void BuildArgV(std::vector<char*>& Out, char* CommandLine) { char* Cursor = CommandLine; @@ -686,6 +687,7 @@ static void BuildArgV(std::vector<char*>& Out, char* CommandLine) ++Cursor; } } +#endif // !WINDOWS || TESTS #if ZEN_PLATFORM_WINDOWS static CreateProcResult CreateProcNormal( |