)]}'
{
  "commit": "4751f2753a8f062cf75a82b6a48cb94d0517a6e4",
  "tree": "221c428704f395d2f81314f6aa79ffebab07f6ff",
  "parents": [
    "4a3a91e6033fb84523ea393c07481cc324913363"
  ],
  "author": {
    "name": "Pali Rohár",
    "email": "pali.rohar@gmail.com",
    "time": "Sun Sep 15 17:36:00 2024 +0200"
  },
  "committer": {
    "name": "Martin Storsjö",
    "email": "martin@martin.st",
    "time": "Wed Sep 18 13:42:29 2024 +0300"
  },
  "message": "crt: Define and use __p_ function for _osplatform\n\nGlobal variable _osplatform for i386 is provided in new versions of\nmsvcrt.dll and then also in msvcr70.dll, msvcr71.dll and msvcr80.dll.\nFor x64 it is provided in all msvcrt.dll and msvcr80.dll versions.\n\nFunction __p__osplatform() which returns pointer to global variable\n_osplatform is provided only in i386 and x64 versions of msvcr80.dll.\n\nOn ARM systems there is no _osplatform platform variable and neither\n__p__osplatform() function. UCRT does not provide them for any arch.\n\nProvide missing function __p__osplatform() for i386 and x64 versions of\nmsvcrt.dll, then for i386 msvcr70.dll and msvcr71.dll and change definition\nof _osplatform in header file to use __p__osplatform() function.\n\nThis aligns definition with msvc and avoid referencing another global\nvariable from mingw-w64 header files.\n\nSigned-off-by: Martin Storsjö \u003cmartin@martin.st\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a0646ef2a5de7fb14fbc5244e08b3639cb15a154",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/Makefile.am",
      "new_id": "2d191855f18ffeb2513551578a26b8012a322565",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/Makefile.am"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b22bf1b1a18ac7b0dfd01250635ad641de2510ac",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/misc/__p__osplatform.c"
    },
    {
      "type": "modify",
      "old_id": "a9069d5563224936b96ac8751630de6cfcb665f8",
      "old_mode": 33188,
      "old_path": "mingw-w64-headers/crt/stdlib.h",
      "new_id": "dabeb3cdb61a47ab44a08313265f456da4f2fb51",
      "new_mode": 33188,
      "new_path": "mingw-w64-headers/crt/stdlib.h"
    }
  ]
}
