)]}'
{
  "commit": "0661f83775442ad76cd7089b93fd0fd9c91ff694",
  "tree": "2084433a6b97ec9b34bf6931521deb0b174f7afe",
  "parents": [
    "38f8c1535de9ebc12c6340e5c1c8ebd72afde560"
  ],
  "author": {
    "name": "Ryan VanderMeulen",
    "email": "ryanvm@gmail.com",
    "time": "Sun Sep 06 20:48:46 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Sun Sep 06 20:49:46 2026 -0700"
  },
  "message": "PR #2155: Include \u003cpthread.h\u003e in thread_identity.cc only when the selected mode uses it\n\nImported from GitHub PR https://github.com/abseil/abseil-cpp/pull/2155\n\nEvery pthread use in thread_identity.cc is already conditional on ABSL_THREAD_IDENTITY_MODE, but the #include \u003cpthread.h\u003e is keyed on the platform instead: it is included on every non-Windows target and on MinGW. That makes ABSL_FORCE_THREAD_IDENTITY_MODE\u003dABSL_THREAD_IDENTITY_MODE_USE_CPP11 unusable on MinGW toolchains that do not ship winpthreads, since the header is included even though nothing in that mode needs it. Firefox\u0027s clang-based MinGW toolchain is one such configuration.\n\nGate the include on the mode like the rest of the file. Default mode selection is unchanged on every platform, and MinGW toolchains that do provide pthread.h keep the existing POSIX behavior.\n\nMerge e876e71cf0dfec7dcaddc18fadaf35e7f7db7618 into 38f8c1535de9ebc12c6340e5c1c8ebd72afde560\n\nMerging this change closes #2155\n\nPiperOrigin-RevId: 977246937\nChange-Id: I62093a0a03d56f7b92000d5d6193abe0ee2516d5\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "27b5816394a6bdeaad16ceefc5aedb8b1c6a92f2",
      "old_mode": 33188,
      "old_path": "absl/base/internal/thread_identity.cc",
      "new_id": "995654c562eda963fb2f2fa5e3c932edd1e0fcbe",
      "new_mode": 33188,
      "new_path": "absl/base/internal/thread_identity.cc"
    }
  ]
}
