I suggest you inline this into the `#if defined(__linux__) || defined(_WIN32)` block further down below. It generates 'unused function' and 'no return value' warnings on non-Linux/Windows platforms.