| summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/pervasive.h')
| -rw-r--r-- | src/pervasive.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 <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 |


