Skip to content

Commit

Permalink
Merge branch 'kintel-cpuinfo' of github.com:openscad/openscad into ki…
Browse files Browse the repository at this point in the history
…ntel-cpuinfo
  • Loading branch information
kintel committed Mar 30, 2023
2 parents 42029bb + e6cd803 commit 36d7092
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/glview/OffscreenContextWGL.cc
Expand Up @@ -24,6 +24,7 @@
#include <map>
#include <string>
#include <sstream>
#include <strstream>

struct OffscreenContext
{
Expand Down
5 changes: 4 additions & 1 deletion src/platform/PlatformUtils-win.cc
@@ -1,4 +1,7 @@
#include "PlatformUtils.h"

#include <map>

#include "printutils.h"
#include "findversion.h"
#ifndef _WIN32_WINNT
Expand Down Expand Up @@ -170,7 +173,7 @@ const std::string PlatformUtils::sysinfo(bool extended)
majorVersion = 11;
}
boost::format fmt("Microsoft Windows %d (%d.%d.%d) %s");
fmt % majorVersion % osinfo.dwMajorVersion % osinfo.dwMinorVersion % osinfo.dwBuildNumber % archs[si.wProcessorArchitecture]
fmt % majorVersion % osinfo.dwMajorVersion % osinfo.dwMinorVersion % osinfo.dwBuildNumber % archs[si.wProcessorArchitecture];
result += fmt.str();
}

Expand Down

0 comments on commit 36d7092

Please sign in to comment.