)]}'
{
  "commit": "b6e3d257f97fd4e3998e0743968d17010047b4c1",
  "tree": "6932c164c28e36b00788b35db201dbe40660e058",
  "parents": [
    "22418428ed28d803bfca151623bbf017d1ba6bfc"
  ],
  "author": {
    "name": "Antonio Ospite",
    "email": "ao2@ao2.it",
    "time": "Sat Mar 03 18:40:24 2018 +0100"
  },
  "committer": {
    "name": "Nico Huber",
    "email": "nico.h@gmx.de",
    "time": "Fri Mar 23 14:31:49 2018 +0000"
  },
  "message": "Fix compilation with older MinGW versions\n\nThe __MINGW_PRINTF_FORMAT constant has been defined back in 2012\nhttps://sourceforge.net/p/mingw-w64/mingw-w64/ci/77bc5d6103b5fb9f59fbddab1583e69549913312/\n\nHowever older toolchains are still around and some user reported the\nfollowing compilation failure:\n\n  flash.h:336:1: error: \u0027__MINGW_PRINTF_FORMAT\u0027 is an unrecognized format function  type [-Werror\u003dformat\u003d]\n    __attribute__((format(__MINGW_PRINTF_FORMAT, 2, 3)));\n\nFix this by defining the constant when it isn\u0027t already; the change does\nnot affect other compilers because it\u0027s guarded by \"#ifdef __MINGW32__\".\n\nSetting  __MINGW_PRINTF_FORMAT to gnu_printf is exactly what newer MinGW\nversions do when __USE_MINGW_ANSI_STDIO is defined, which it is in\nflashrom Makefile.\n\nChange-Id: I48de3e4303b9a389c515a8ce230282d9210576fd\nTested-by: Miklos Marton \u003cmartonmiklosqdev@gmail.com\u003e\nSigned-off-by: Antonio Ospite \u003cao2@ao2.it\u003e\nReviewed-on: https://review.coreboot.org/25130\nTested-by: build bot (Jenkins) \u003cno-reply@coreboot.org\u003e\nReviewed-by: Nico Huber \u003cnico.h@gmx.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a80a9c249b9bb4b34a730d374ed2ae8692478cc3",
      "old_mode": 33188,
      "old_path": "flash.h",
      "new_id": "40a7f1a502ef1b65b2dbe5644379ead93b5279ac",
      "new_mode": 33188,
      "new_path": "flash.h"
    }
  ]
}
