]> git.proxmox.com Git - libtpms.git/commit
tpm2: Add define for static_assert in case it doesn't exist in assert.h
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Sat, 20 Feb 2021 21:39:28 +0000 (16:39 -0500)
committerStefan Berger <stefanb@us.ibm.com>
Mon, 22 Feb 2021 17:10:54 +0000 (12:10 -0500)
commit8f284d3594ecc755ceffc3b696000d18970f3c53
tree4eb90d9b8c403f5c82c1c093b3bcaf535e5d0d2e
parentd2686dda87274e1636520c017c567ab3bf5ee164
tpm2: Add define for static_assert in case it doesn't exist in assert.h

Some older systems do not define static_assert, so we have to provide
our own static_assert that does 'nothing'.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
src/tpm2/BackwardsCompatibilityObject.c