summaryrefslogtreecommitdiff
path: root/src/common.h
blob: 87fa88703523ae64d86420b8fcdf77e79dcc1f2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef COMMON_H
#define COMMON_H

#ifdef HAVE_CONFIG_H
# include "config.h"
#endif

#include <stdbool.h>
#include <stdlib.h>

#include "compiler.h"
#include "macros.h"

#ifdef DEBUG
# include <assert.h>
#else
# define assert(x) /* x */
#endif

#define API

#endif /* COMMON_H */