Skip to content

Libs/Utils/PlatformUtils.h

Namespaces

Name
shapeworks
User usage reporting (telemetry)

Classes

Name
class shapeworks::PlatformUtils
Platform utility functions.

Source code

```cpp

namespace shapeworks {

class PlatformUtils { public: static bool is_windows() {

ifdef _WIN32

return true;

endif

return false;

}

static bool is_linux() {

ifdef linux

return true;

endif

return false;

}

static bool is_macos() {

ifdef APPLE

return true;

endif

return false;

} };

} // namespace shapeworks ```


Updated on 2026-03-31 at 16:02:11 +0000