From 1af58bb8886673ac115f019094853fa763e79187 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Tue, 1 Sep 2015 22:48:51 +0200 Subject: Initial commit. --- src/pervasive.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/pervasive.h (limited to 'src/pervasive.h') diff --git a/src/pervasive.h b/src/pervasive.h new file mode 100644 index 0000000..8a8449a --- /dev/null +++ b/src/pervasive.h @@ -0,0 +1,13 @@ +#ifndef RELABSD_PERVASIVE_H +#define RELABSD_PERVASIVE_H + +#include + +#define __TO_STRING(x) #x +#define _TO_STRING(x) __TO_STRING(x) + +#define _ISOLATE(a) do {a} while (0) + +#define _IS_PREFIX(a, b) (strncmp(a, b, strlen(a)) == 0) + +#endif -- cgit v1.2.3-70-g09d2