| summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/pervasive.h')
| -rw-r--r-- | src/pervasive.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/pervasive.h b/src/pervasive.h deleted file mode 100644 index 6c08305..0000000 --- a/src/pervasive.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef RELABSD_PERVASIVE_H -#define RELABSD_PERVASIVE_H - -#include <string.h> - -#define RELABSD__TO_STRING(x) #x -#define RELABSD_TO_STRING(x) RELABSD__TO_STRING(x) - -#define RELABSD_ISOLATE(a) do {a} while (0) - -/* strncmp stops at '\0' and strlen does not count '\0'. */ -#define RELABSD_IS_PREFIX(a, b) (strncmp(a, b, strlen(a)) == 0) - -#define RELABSD_STRING_EQUALS(a, b) (strcmp(a, b) == 0) - -#endif |


