]> code.delx.au - gnu-emacs/commit
Fix printf-related compilation warnings on MinGW
authorEli Zaretskii <eliz@gnu.org>
Sun, 12 Jun 2016 08:30:14 +0000 (11:30 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 12 Jun 2016 08:30:14 +0000 (11:30 +0300)
commit643e0b8d2857ed63cb9e94731a30d8ed0e9ca889
treee3f0792ed58af29345a653ba36a946e7d6ee3b03
parent5932ffcd028af9fc70c9f8e731f2776a9753d81d
Fix printf-related compilation warnings on MinGW

* src/conf_post.h (ATTRIBUTE_FORMAT_PRINTF) [__MINGW32__]: Use
'__ms_printf__', not '__gnu_printf__', as the latter is not what
MS 'printf' supports, and causes bogus compilation warnings.
* src/lisp.h (pI) [__MINGW32__]: Define to "I64", as MS 'printf'
doesn't support the "ll" modifier.
src/conf_post.h
src/lisp.h