| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2015-09-03 11:25:52 +0200 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2015-09-03 11:25:52 +0200 |
| commit | 480288ca001564fa8c9fbdd72be442bbe7ee3d97 (patch) | |
| tree | 9235fe315e5a8d885abfd64cd8c356757de4508c /src/pervasive.h | |
| parent | 5867bb8f12f3841a06eed3cd253365be0728c0af (diff) | |
Adds compilation options, renames preprocessor macros to avoid collisions.
Diffstat (limited to 'src/pervasive.h')
| -rw-r--r-- | src/pervasive.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 <string.h> -#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 |


