]> git.ipfire.org Git - people/ms/strongswan.git/commit
utils: Add some initial build time assertion macros
authorMartin Willi <martin@revosec.ch>
Fri, 4 Jul 2014 12:35:27 +0000 (14:35 +0200)
committerMartin Willi <martin@revosec.ch>
Mon, 25 Aug 2014 07:48:53 +0000 (09:48 +0200)
commitbb6be261974788d971226d7508bcbc49af86e96e
tree9630c61844572f80dceffb2c705d86fc2f540f22
parent8986e2da47ec6e5a57483a1034d3332f8fdd2533
utils: Add some initial build time assertion macros

These are useful to assert constants during build time. We evaluate the
expression to 0 when valid, so we can safely use the evaluated value.
src/libstrongswan/utils/utils.h