| summaryrefslogtreecommitdiff | 
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2015-09-01 22:48:51 +0200 | 
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2015-09-01 22:48:51 +0200 | 
| commit | 1af58bb8886673ac115f019094853fa763e79187 (patch) | |
| tree | c2ab030898e74288f82c557287272546a990e932 /src/pervasive.h | |
Initial commit.
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 | 


