]> git.ipfire.org Git - thirdparty/bacula.git/commit
Fix portability issue with typeof.
authorRadosław Korzeniewski <radoslaw@korzeniewski.net>
Thu, 4 Mar 2021 09:44:47 +0000 (10:44 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:00 +0000 (09:03 +0100)
commitab638dfbdce8aee2cf0948d71393b304f12b96bd
treec66c43301892c9640b901cecd918f81f081c1606
parent204fe3c67e2d83e86f4e6fd0646de3bc6f19692c
Fix portability issue with typeof.

This patch adds a new configuration detection code for __typeof() and
introduce new macro TYPEOF_FUNC which should be used together
with HAVE_TYPEOF macro where this function is required.
It fixes  #0002600 when building Bacula on Solaris 11 and SDS.
bacula/autoconf/config.h.in
bacula/autoconf/configure.in
bacula/src/lib/serial.h