summaryrefslogtreecommitdiff
path: root/src/common.hh
blob: 53045a960c11a7d939a48cb3a0f31b6f918af92b (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 <assert.h>

#endif  // COMMON_HH