)]}'
{
  "commit": "a986ca69288448fce35e081082dbc4b21e45755a",
  "tree": "4e516d4b2fd154edfff60cdaba88abcc25d31407",
  "parents": [
    "7ec8bcb99648f56f7bb78a1f1bbbd20ec8779f66"
  ],
  "author": {
    "name": "Zhongteng Gui",
    "email": "dragon-archer@outlook.com",
    "time": "Mon Aug 10 16:54:22 2026 +0800"
  },
  "committer": {
    "name": "LIU Hao",
    "email": "lh_mouse@126.com",
    "time": "Fri Aug 14 22:01:54 2026 +0800"
  },
  "message": "headers: crt: Improve _Pragma support and add helper macros\n\nPreviously, __MINGW_PRAGMA_PARAM only resolves to _Pragma under GCC 4.4\nand later, which means Clang and other compilers that support _Pragma\nresolves it to empty, thus it was seldom used before.\n\nThis commit improves the detection of _Pragma support by first checking\nfor C++11 and C99 support, and then checking for GCC 3.0 and later,\nwhich is the first documented version that supports _Pragma. Since Clang\nalways pretends to be GCC 4.2, and most other compilers also pretend to\nbe GCC 3.0+, __MINGW_PRAGMA_PARAM can now be safely used in most cases.\n\nAlso added _CRT_BEGIN_C_HEADER and _CRT_END_C_HEADER macros similar to\nthose in MSVC\u0027s corecrt.h, so that we no longer have to write #ifdef\n__cplusplus in every header.\n\nSigned-off-by: Zhongteng Gui \u003cdragon-archer@outlook.com\u003e\nSigned-off-by: LIU Hao \u003clh_mouse@126.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e7c47900fc36052d37941ed959b600d72a0d3d5e",
      "old_mode": 33188,
      "old_path": "mingw-w64-headers/crt/_mingw.h.in",
      "new_id": "771b4bf379420530cec2a0f2d694087caa6a1697",
      "new_mode": 33188,
      "new_path": "mingw-w64-headers/crt/_mingw.h.in"
    }
  ]
}
