diff options
Diffstat (limited to 'src/common.hh')
| -rw-r--r-- | src/common.hh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/common.hh b/src/common.hh new file mode 100644 index 0000000..67c8fa5 --- /dev/null +++ b/src/common.hh @@ -0,0 +1,18 @@ +// -*- mode: c++; c-basic-offset: 2; -*- + +#ifndef COMMON_HH +#define COMMON_HH + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#if HAVE_VAR_ATTRIBUTE_UNUSED +# define UNUSED(x) __attribute__((unused)) x ## _unused +#else +# define UNUSED(x) x ## _unused +#endif + +#include <cassert> + +#endif // COMMON_HH |
