From 8d2da88d9dc9a8337b1a406c75f04bf16fac9589 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Thu, 5 Nov 2009 13:42:31 +0100 Subject: Initial commit. --- src/common.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/common.h (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h new file mode 100644 index 0000000..60cfcea --- /dev/null +++ b/src/common.h @@ -0,0 +1,22 @@ +#ifndef COMMON_H +#define COMMON_H + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#if HAVE_STDLIB_H +# include +#else +# errnor "no stdlib, wtf?" +#endif + +#ifdef DEBUG +# if HAVE_ASSERT_H +# include +# endif +#else +# define assert(__x) /* __x */ +#endif + +#endif /* COMMON_H */ -- cgit v1.3.1