From c029d90d1975e124d237605f1edb2be16bd05b5d Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Tue, 28 Feb 2017 21:50:44 +0100 Subject: Initial commit --- src/common.hh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/common.hh (limited to 'src/common.hh') 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 + +#endif // COMMON_HH -- cgit v1.2.3-70-g09d2