summaryrefslogtreecommitdiff
blob: 8a8449a176e16a4613c2c90ecce8c5a2b25298eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef RELABSD_PERVASIVE_H
#define RELABSD_PERVASIVE_H

#include <string.h>

#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