)]}'
{
  "commit": "87558c151f0a447d8f00af1a7d3a88a273aa8c23",
  "tree": "5a49f9126da2c9d4613a3bc6b038857943b92cc3",
  "parents": [
    "1035bed24e833ea5eb487c78f4f350ea48f31e8b"
  ],
  "author": {
    "name": "Martin Storsjö",
    "email": "martin@martin.st",
    "time": "Mon Oct 02 00:04:30 2017 +0300"
  },
  "committer": {
    "name": "Martin Storsjö",
    "email": "martin@martin.st",
    "time": "Wed Oct 04 22:07:09 2017 +0300"
  },
  "message": "crt: Add a compatibility wrapper for _get_current_locale\n\nThis function only exists since Windows 8, but is is currently used\nby libc++.\n\nThis fixes linker errors with libc++ when linking against msvcrt.dll.\n\nThis compatibility wrapper only returns NULL and doesn\u0027t attempt keeping\ntrack of what the last set locale actually was. (Doing that is a bit hard\nas well, since _get_current_locale is supposed to allocate and populate\na _locale_t struct, while setlocale only gets a locale name string.)\n\nThe parts of libc++ using this function probably won\u0027t work perfectly\non versions prior to Windows 8 with this wrapper, but this allows building\nlibc++ in general for a wider range of Windows versions, and having these\nparts working as intended on Windows 8 and newer.\n\nSigned-off-by: Martin Storsjö \u003cmartin@martin.st\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "eaa0080b2fcf8dc4d2ec0bfce0208dab65cc5cd8",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/Makefile.am",
      "new_id": "8ee5a228d1ba136923015ad64c64ebe01ce26f8e",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/Makefile.am"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f5ccc4afc1928c65d3961f626c75612a660777f4",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/misc/_get_current_locale.c"
    },
    {
      "type": "modify",
      "old_id": "b6bae04ef3959ff7df10b8b4606e4764401abfc4",
      "old_mode": 33188,
      "old_path": "mingw-w64-headers/crt/locale.h",
      "new_id": "1f588e8583bc0e9b4bfa188ad4c3e3780fcf67b6",
      "new_mode": 33188,
      "new_path": "mingw-w64-headers/crt/locale.h"
    }
  ]
}
