)]}'
{
  "commit": "24e0bd827a8bec8121b128b0634cb34402fb3259",
  "tree": "eefbddea09b6970a94b715a8bc6892aac0acdc3b",
  "parents": [
    "23d8c1e58941ca48b4ef67595addaf78412109ef"
  ],
  "author": {
    "name": "Devon Loehr",
    "email": "DKLoehr@users.noreply.github.com",
    "time": "Wed Oct 02 04:40:03 2024 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Oct 02 09:40:03 2024 +0100"
  },
  "message": "Add enum value from newest Windows SDK (#1859)\n\n* Add enum value from newest Windows SDK\r\n\r\nWindows SDK version 10.0.26100.0 adds a cache type value, `CacheUnknown`. This adds a case for that type to `sysinfo.cc`, which will otherwise complain about the switch statement being non-exhaustive when building with the new SDK.\r\n\r\nSince the value doesn\u0027t exist in prior SDK versions, we only add the case conditionally. The condition can be removed if we ever decide to bump up the required SDK version.\r\n\r\n* Fix SDK version macro\r\n\r\nMake sure the version macro we\u0027re using for the SDK is properly indicative of version 10.0.26100.0. Also fix formatting complains from the linter.\r\n\r\n* Add space to satisfy formatter\r\n\r\nFormatter insists on two space before a comment after a macro...\r\n\r\n* Change preprocessor condition\r\n\r\nTry detecting the current SDK version in a slightly different way.\r\n\r\n* Replace NTDDI_WIN11_GE with its value\r\n\r\nUndefined constants are treated as 0 by the preprocessor, which causes the check to trivially return true for previous SDK versions. Replace the constant with its value (from the newest SDK version) instead,",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a153b20cf3e92caca10fba7e77f4db509e4313ae",
      "old_mode": 33188,
      "old_path": "src/sysinfo.cc",
      "new_id": "71485982649bf34137854f574bbf0c16036ebc74",
      "new_mode": 33188,
      "new_path": "src/sysinfo.cc"
    }
  ]
}
