summaryrefslogtreecommitdiff
path: root/src/common.hh
blob: 67c8fa5dd06647d53bbe201c2dc90546d912786b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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