diff options
Diffstat (limited to 'src/lib/utils/os_utils.cpp')
-rw-r--r-- | src/lib/utils/os_utils.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/utils/os_utils.cpp b/src/lib/utils/os_utils.cpp index 946a2c297..558bd71e6 100644 --- a/src/lib/utils/os_utils.cpp +++ b/src/lib/utils/os_utils.cpp @@ -566,10 +566,12 @@ std::unique_ptr<OS::Echo_Suppression> OS::suppress_echo_on_terminal() }; return std::unique_ptr<Echo_Suppression>(new Win32_Echo_Suppression); -#endif + +#else // Not supported on this platform, return null return std::unique_ptr<Echo_Suppression>(); +#endif } } |