[dovecot/core] d16199: lib: Add a common HAVE_TYPE_CHECKS

GitHub noreply at github.com
Fri Apr 7 10:00:11 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: d16199fcc9bbb61b8e47e69c3893161b363d9a17
      https://github.com/dovecot/core/commit/d16199fcc9bbb61b8e47e69c3893161b363d9a17
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-07 (Fri, 07 Apr 2017)

  Changed paths:
    M src/lib/compat.h
    M src/lib/macros.h

  Log Message:
  -----------
  lib: Add a common HAVE_TYPE_CHECKS

I'm not sure if it should be checking gcc >= 3.0 or 3.3, but they're
all old so doesn't really matter.

The __cplusplus check was added to both, since it wouldn't have done
anything anyway as COMPILE_ERROR_IF_TRUE() is 0 for __cplusplus.


  Commit: 76858e9df2a1b94ab42a6dcd5b2cb7932f083399
      https://github.com/dovecot/core/commit/76858e9df2a1b94ab42a6dcd5b2cb7932f083399
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-07 (Fri, 07 Apr 2017)

  Changed paths:
    M src/lib/compat.h

  Log Message:
  -----------
  lib: Redefine NULL only if HAVE_TYPE_CHECKS is set


Compare: https://github.com/dovecot/core/compare/56af9dd10e7e...76858e9df2a1


More information about the dovecot-cvs mailing list