)]}'
{
  "commit": "1b94268f113cb68c3213f6766a1aab5cd9777589",
  "tree": "550e256cb3a9dc8d4751851a13424acb32f8d3ec",
  "parents": [
    "5751d69c85816cfd42418ac3c668b4c96566f047"
  ],
  "author": {
    "name": "LIU Hao",
    "email": "lh_mouse@126.com",
    "time": "Mon Aug 04 11:44:15 2025 +0800"
  },
  "committer": {
    "name": "LIU Hao",
    "email": "lh_mouse@126.com",
    "time": "Mon Aug 04 11:51:47 2025 +0800"
  },
  "message": "headers/wdm: Remove local definitions of `InterlockedBitTestAndSet()` and `InterlockedBitTestAndReset()`\n\nPreviously, these caused errors when compiled as C++:\n\n   In file included from test1.cpp:1:\n   C:/MSYS64/ucrt64/include/ddk/wdm.h:205:1: error: \u0027BOOLEAN InterlockedBitTestAndSet(volatile LONG*, LONG)\u0027 redeclared inline without \u0027gnu_inline\u0027 attribute\n     205 | InterlockedBitTestAndSet(\n         | ^~~~~~~~~~~~~~~~~~~~~~~~\n   In file included from C:/MSYS64/ucrt64/include/intrin.h:41,\n                    from C:/MSYS64/ucrt64/include/ddk/wdm.h:68:\n   C:/MSYS64/ucrt64/include/psdk_inc/intrin-impl.h:1850:1: note: \u0027unsigned char InterlockedBitTestAndSet(volatile long int*, long int)\u0027 previously defined here\n    1850 | __buildbittesti(InterlockedBitTestAndSet, __LONG32, \"lock bts{l %[Offset],%[Base] | %[Base],%[Offset]}\" __FLAGSET, \"I\")\n         | ^~~~~~~~~~~~~~~\n   C:/MSYS64/ucrt64/include/ddk/wdm.h:224:1: error: \u0027BOOLEAN InterlockedBitTestAndReset(volatile LONG*, LONG)\u0027 redeclared inline without \u0027gnu_inline\u0027 attribute\n     224 | InterlockedBitTestAndReset(\n         | ^~~~~~~~~~~~~~~~~~~~~~~~~~\n   C:/MSYS64/ucrt64/include/psdk_inc/intrin-impl.h:1859:1: note: \u0027unsigned char InterlockedBitTestAndReset(volatile long int*, long int)\u0027 previously defined here\n    1859 | __buildbittesti(InterlockedBitTestAndReset, __LONG32, \"lock btr{l %[Offset],%[Base] | %[Base],%[Offset]}\" __FLAGSET, \"I\")\n        | ^~~~~~~~~~~~~~~\n\nWhen compiled as C, the static definitions were treated as external ones and\ncaused linker errors instead.\n\nThis fixes https://github.com/mingw-w64/mingw-w64/issues/111.\n\nSigned-off-by: LIU Hao \u003clh_mouse@126.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c2c547730b39fbf1cd38ebb8917bc2696cfb6119",
      "old_mode": 33188,
      "old_path": "mingw-w64-headers/ddk/include/ddk/wdm.h",
      "new_id": "5548e4732b0c68bad77e9a06c2ff33086961482e",
      "new_mode": 33188,
      "new_path": "mingw-w64-headers/ddk/include/ddk/wdm.h"
    }
  ]
}
