From 480288ca001564fa8c9fbdd72be442bbe7ee3d97 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Thu, 3 Sep 2015 11:25:52 +0200 Subject: Adds compilation options, renames preprocessor macros to avoid collisions. --- src/pervasive.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/pervasive.h') diff --git a/src/pervasive.h b/src/pervasive.h index ee04b08..0dd67fe 100644 --- a/src/pervasive.h +++ b/src/pervasive.h @@ -3,12 +3,12 @@ #include -#define __TO_STRING(x) #x -#define _TO_STRING(x) __TO_STRING(x) +#define RELABSD__TO_STRING(x) #x +#define RELABSD_TO_STRING(x) RELABSD__TO_STRING(x) -#define _ISOLATE(a) do {a} while (0) +#define RELABSD_ISOLATE(a) do {a} while (0) /* strncmp stops at '\0' and strlen does not count '\0'. */ -#define _IS_PREFIX(a, b) (strncmp(a, b, strlen(a)) == 0) +#define RELABSD_IS_PREFIX(a, b) (strncmp(a, b, strlen(a)) == 0) #endif -- cgit v1.2.3-70-g09d2