From 6232d13f5321b87ddf12a1aa36b4545da45f173d Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Wed, 17 Nov 2021 22:34:57 +0100 Subject: Travel3: Simple image and video display site Reads the images and videos from filesystem and builds a site in memroy. --- src/common.hh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/common.hh (limited to 'src/common.hh') diff --git a/src/common.hh b/src/common.hh new file mode 100644 index 0000000..4eec123 --- /dev/null +++ b/src/common.hh @@ -0,0 +1,16 @@ +#ifndef COMMON_HH +#define COMMON_HH + +#include + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#if HAVE_BUILTIN_UNREACHABLE +#define NOTREACHED __builtin_unreachable() +#else +#define NOTREACHED abort() +#endif + +#endif // COMMON_HH -- cgit v1.2.3-70-g09d2