summaryrefslogtreecommitdiff
path: root/src/common.hh
blob: 95abcaab39b9dd297461cf48ffc1c5f2a921b327 (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 && !defined(__GNUG__)
# define UNUSED(x) __attribute__((unused)) x ## _unused
#else
# define UNUSED(x) /* x ## _unused */
#endif

#include <cassert>

#endif  // COMMON_HH